backup retention does not trim backups

kyriazis

Well-Known Member
Oct 28, 2019
98
6
48
Austin, TX
I've set up my cluster to do weekly backups and also set up backup retention to keep weekly 3 and keep monthly 3.

However, /etc/pve/vzdump.cron does not have any entries for --prune-backups, as I would expect, and in fact the backups are not trimmed.

How can I set proxmox to trim backups?

Thank you!

George
 
where did you set that up? on the storage? it is normal it does not show up in vzdump.cron since vzdump will AFAIK look up the storage config and
use those values

can you post a backup log where it does not prune them?
 
I've set up the backup job in Datacenter -> Backup and the retention policy in Datacenter -> Storage -> <storage node> -> Edit -> Backup Retention.

Where can I get the backup log?

Thanks
 
hmm. Looks like it's removing snapshots, just not all of the ones that it should be according to the settings.

I'll monitor it a few more backup cycles and see what's going on.

Thank you!