Proxmox Auto Delete old Backups

josch12

Well-Known Member
Oct 20, 2017
37
1
48
36
Hi

we add a NFS Storage as Backup, and dump the Backups via vzdump ( Proxmox gui )

now our question: it is possible to delete old Backups ?

as example. we Dump vm with the Id 100 all 24h, and need the Backups for 3 Days.
Also must Proxmox delete allways Backup number 4 from the Backup Storage.

i check the /etc/vzdump.conf and edit:
maxfiles: 3 and add remove: 1

but i think my config is a little bit whrong ;D
 
if you do this via the webinterface, the only way is for scheduled backup jobs (datacenter->backup)
this uses the storages 'max backup' parameter to determine how many backups there can be at maximum and after a successful one, deletes the oldest
 

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!