borgqueenx Nov 11 7:28AM 2017 GUI
When manually backing up instead at intervals, the prune is working. But if i disable that and run backups at set intervals(30mins currently anyway) the prune command never runs and all last backups keep being stored.
gchen Nov 11 11:18PM 2017
The prune command only runs after the first backup of the day -- it doesn't make sense to run it multiple times per day since the retention policy is specified with day as the unit.
borgqueenx Nov 12 5:27AM 2017
The prune command literary never works when set at intervals. Also not at the first backup of the day.
borgqueenx Nov 12 5:28AM 2017
But i only tried hourly and half hourly backups.
borgqueenx Nov 12 5:29AM 2017
I am stuck with loads of backups, but if i then disable intervals and go for manual backup, it prunes according to the prune day setup. But prune never runs during intervals.
gchen Nov 12 11:02AM 2017
If you wait until tomorrow -- the prune command will run after the first backup of tomorrow but not after other backups.
You can also test it quickly by changing the first backup time. For example, if the current time is 11:15am and you want one backup every 30 minutes, then set the first backup time to 11:30am and the prune command will run after the 11:30am backup.
borgqueenx Nov 12 3:00PM 2017
it does not. i still have multiple backups of single days that go a week ago. https://puu.sh/ykz34/9217b1a421.png
While my backups are scheduled to keep 1 day if older then 1 day.
borgqueenx Nov 12 3:01PM 2017
When manually backing up and disabling the interval, it will prune all those days away and keep 1 snapshot per day, like it probaly should....?
gchen Nov 12 10:57PM 2017
You may have hit a flaw in the scheduling algorithm. If the backup starting at 11:30pm takes longer than 30 minutes then it will skip the backup at 12:00am and the next scheduled backup will be start at 12:30am. However, the 12:30am backup will not be viewed as the first backup of the day so the prune command will not run.
If you change the first backup to 12:30am or 1:00am it should work better.
borgqueenx Nov 13 9:46AM 2017
But i do not leave my computer on 24/7. I login in the mornings or afternoons, so the first backup will only start after about 10:30 on its earliest. Secondly, my backups never take more then 30 minutes.
gchen Nov 13 12:04PM 2017
Then you should set the first backup time to 11:00am or something close to that.
borgqueenx Nov 21 4:11PM 2017
i still would consider this a bug? If turning on your pc at other times, it will never prune...
gchen Nov 21 8:11PM 2017
Yes, this is a bug. The new GUI version I've been working should fix this bug.