[SOLVED] Setting of "keep-last" is ignored?

larsen

Active Member
Feb 28, 2020
155
17
38
Hello,

I have changed the retention settings from using the storage defined one (something like 3 daily, 3 weekly or so) to specifying it at PVE level with "keep-last=2". Waited around two weeks, but after the (failed) backup last weekend, the older backups still exist.

Will they only be deleted after a successful backup? I mean, even though the last backup failed, now there are still more backups than configured.


Setting in PVE:
2.PNG

Result in PBS:
1.PNG
 
Last edited:
Should have checked the other backup problem first... Just noticed this:

Code:
109: 2023-08-13 10:37:13 INFO: running 'proxmox-backup-client prune' for 'vm/109'
109: 2023-08-13 10:37:14 ERROR: prune 'vm/109': proxmox-backup-client failed: Error: permission check failed - missing Datastore.Modify|Datastore.Prune on /datastore/atl-vm04
109: 2023-08-13 10:37:14 ERROR: Backup of VM 109 failed - error pruning backups - check log

(Would be nice to get information about which log right there)

So, will have to add some permissions.
 

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!