Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local Backup & Backup Format #238

Open
befocken opened this issue Nov 15, 2023 · 0 comments
Open

Local Backup & Backup Format #238

befocken opened this issue Nov 15, 2023 · 0 comments

Comments

@befocken
Copy link

befocken commented Nov 15, 2023

Hi, first of all thank you for the great app :).

When I recently tried to backup the data of the app, I noticed that there is no option to just export the file locally, only to share it via mail, messenger etc. I think it would be nice to have the option to just export it to the local storage (and let the user then decide on how they want to actually backup the data - e.g. copy it to a USB drive or directly onto another phone). Personally, I would prefer that over the current way, were you have to share (and thus send) the somewhat private data via some more or less secure service. But I think at least the option to save it locally would be nice.

Moreover, after sending it to myself via a secure messenger, I took a look at the generated file. Apart from the fact that I agree with #220 and would appreciate a more specific filename than dailydozen_backup.json, I noticed that it actually isn't a JSON file...

The format is one JSON-Object per line, without being in an array and without being separated by a comma, so not valid json:

{...}
{...}
{...}

Valid JSON would look like this:

[
  {...},
  {...},
  {...}
]

Is there a reason for this?

Especially when wanting to export the data and evaluate it, it is somewhat cumbersome and unexpected (and possibly even error-prone on the coding-side as some parsing libraries might not like) that it isn't actual JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant