backup retention does not trim backups

kyriazis

Well-Known Member
Oct 28, 2019
96
5
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!