Replies: 1 comment 4 replies
-
I think we could have a retention period for auto saved databases and delete ones older than this period. I don't really want to enable saving it by default. Wouldn't the cloud backup be better as its more modern and doesn't have the same issues when restoring? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The function to save the database everyday already exists. You need to enable it.
https://navid200.github.io/xDrip/docs/Backup/SaveDaily.html
The problem with it is that after a while, the internal storage may fill up. It helps if xDrip automatically deletes old database files. For example, if xDrip only keeps the saved database files for the past 3 weeks.
We have a database corruption issue that we have not resolved yet: #1280
In the meantime, I would like to enable the daily save of the database by default and inform users to enable it.
But, I prefer not to have to tell users to manually delete the old files on a regular basis. I prefer if xDrip does that itself.
What would be the best way for doing this?
Is there an existing code in xDrip, or another project, that deletes files from the internal storage?
Beta Was this translation helpful? Give feedback.
All reactions