Database cleanup #3605
-
Is there a way to cleanup the Xdrip database... I have been using Xdrip for 10 years now, so my database has grown (google backup was about 150 Mb, I almost thought it was broken, backup upload took so long). I would like to remove all data that is more than 2 years old (or something like that). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Go to Settings > Less common settings > Glucose retention If you have it set to 0, it never deletes anything. |
Beta Was this translation helpful? Give feedback.
-
Mhm. So I set this, but when I had next cloud backup, the file uploaded was more than previous one, so database was not reduced. Do I need to run any action after I have set this values? |
Beta Was this translation helpful? Give feedback.
Go to Settings > Less common settings > Glucose retention
If you have it set to 0, it never deletes anything.
Set it to 730 if you want it to keep 2 years worth of data.