I would appreciate if someone could help me understand prune and what revisions are kept. I am using the Web GUI in a Docker environment. I have the following options enabled on a prune command set to run after every scheduled backup:
-d | -keep 7:7 -keep 0:30 -a -exhaustive -threads 10
I interpret this as follows:
- Keep one revision every 7 days after seven days
- Keep no revision after 30 days
- Do this for all backupIDs
That would then lead me to believe that - assuming daily backups - across a 30 day period I would have:
- a daily revision every day for 6 days
- 4 revision - one on each day 7, 14, 21, and 28
- No revision older than 30 days.
I also periodically (read: when I see how much storage I’m using) run a prune command with the following options: -d | -all -exhaustive
However, my storage usage endlessly climbs. This hinted to me to check what revisions I have available. In the Restore tab, I see revisions back 6 months (to March 25th) for some snapshot IDs that I’ve had around for that long.
Am I wrong in understanding the prune command and thus the expected outcome? Or is something else going on? Either way, I’d appreciate help in trimming down my storage used.