High backup usage
-
Sorry if this is the wrong topic but I'm experiencing skyrocketing storage size in my encrypted rsync backups.
With a one week retention policy in a pretty new object space I have the following directories:
2020-11-11-020003-966 2020-11-12-000007-091 2020-11-13-000006-427 2020-11-16-220003-411 2020-11-17-000005-333 2020-11-17-000006-335 2020-11-17-000007-140 2020-11-17-220002-282 2020-11-18-000003-162 2020-11-18-220005-315 2020-11-19-220008-807 2020-11-20-000009-294 2020-11-20-000009-393 2020-11-20-020005-082 2020-11-20-020005-201 2020-11-20-220005-021 2020-11-21-000008-870 2020-11-21-000008-943 2020-11-21-020005-202 2020-11-21-020005-227 2020-11-21-220004-705 2020-11-22-000008-073 2020-11-22-000008-144 2020-11-22-020004-333 2020-11-22-020004-337 2020-11-22-220004-975 2020-11-23-000012-605 2020-11-23-000012-725 2020-11-23-000012-761 2020-11-23-020006-389 2020-11-23-020006-393 2020-11-23-020006-405 2020-11-23-095559-372 2020-11-23-095608-191 2020-11-23-102014-562 snapshot
Is there something weird about this or is it due to those longer-lasting backups from older Cloudron versions?
-
@yusf said in Why is my backup drive full?:
Is there something weird about this or is it due to those longer-lasting backups from older Cloudron versions?
I'm not sure, but guessing likely the latter.
In the end I SSH'd in and deleted a load of old backups - be nicer to be able to do this in the Cloudron UI though.
-
@yusf I had learned from Girish a little while back that some are kept for particular circumstances. So for example I believe when an app package is updated, it keeps that backup longer than the usual retention policy if I remember correctly, same for Cloudron version changes too. Which is why there are folders that are dated beyond the retention policy. I'm sure Girish can explain better and correct anything I may have gotten wrong, but hopefully that helps explain why you have older ones in there beyond the 1 week retention policy you set.
Edit: I just realized Girish noted this too above on this thread. He linked to this which gives a few "exceptions" to the retention policies: https://docs.cloudron.io/backups/#retention-clean-up
-
@yusf What is your backup retention policy?
-
@yusf Are backups failing by any chance. I wonder why there are multiple backups in a day. How often do you create backups? If it's one week backups from 17th Npv are expected. the ones which are slightly older are probably preserved for various reasons. One thing you can do is Backups -> Cleanup backup. Then in the same view, click on logs and it will tell you why each and every backup is preserved. If you paste the log, I can explain in a bit more detail.