Max backups

TobiasE

New Member
Dec 6, 2017
24
1
1
45
I wonder exactly how proxmox backups work.
I can schedule backups to run a number of times per week, and also limit the number of backups per machine which are kept.
However I would expect that when the maximum number of backups is exceeded I would expect the oldest backup to be overwritten for each host.
However I am not quite sure this is the case.
Can I configure it in such a way? Or will I have to set unlimited backups and then remove the backups using cronjob external to proxmox?
 
INFO: starting new backup job: vzdump 104 --remove 0 --mode snapshot --storage <storage> --node <node> --compress lzo
ERROR: Backup of VM 104 failed - only 2 backup(s) allowed - please consider to remove old backup files.
INFO: Backup job finished with errors
TASK ERROR: job errors
So --remove is set to 0 how do I set it to 1?
 
This setup is for automatic backups via cron. If you start the manually, you need to remove old backups manually.
 

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!