Question about Backup Pruning

AraToken

Member
Jul 8, 2021
43
5
13
Hello,

i am working with one Proxmox BS and multiple PVE servers and managed to configure it accordingly so that the pbs does backups of my vms regularly. But i have a question regarding the Backup schedules and the pruning of backups.
Some of my VMs seem to do their backups just as intended and the PBS deletes old ones like i configured it to do. But it seems to not work with some other VMs on the same datastore. While some VMs only count like 15 Backups in total, the others contain way over 200 Backups already and thats what i do not understand.

Because all VMs use the same datastore i assume that the pruning schedule should be the same for all vms? Or is there some kind of option that allows me to define for which vms it should be used and for which not?

Or could there be some kind of problem originating from my proxmox VE Host machines that "block" the PBS from deleting older backups? Maybe it overwrites the pruning or something?

I already tried to change the pruning schedules and tested a few things out (with help of the Prune Simulator) but apparently it does not change anything.

Thank you in advance for any help and tips!
 
Are the backups protected? Protected backups will be skipped when pruning.
 
As far as i know i did not configure them to be protected but just to be sure where can i see that option? I do not find it inside the PBS GUI.
Thank you!
 
Open a backup folder. If the shield icon is green and the backup shows "protected" in its name, it is protected.
for example:
1654246398898.png

If that's not the issue, please share your pveversion -v, the task log of the prune job, your prune/gc config, and if possible the list of the backups of one VM for which pruning works, and one for which it doesn't
 

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!