Retention: Prune Job vs Datastore Config

michael.heider

New Member
Jan 14, 2024
3
3
3
Hi,

Within PBS, there are two places to configure retention:

- in the config of the datastore during datastore creation (visible with sudo proxmox-backup-manager datastore show [datastore], don't know how to see in GUI)
- when creating a prune job (web UI in the Prune & GC Jobs tab of the datastore)

Only setting the retention config in the datastore during creation doesn't seem to actually prune anything, eventhough this also includes prune-schedule (in my case set to daily). Creating a prune job works, but then the retention setting from the prune job is applied, and the one from the datastore config seems to be ignored.

So what is the retention config in the datastore config for?
And what is the proper way to setup automated pruning?

I'm using PBS 3.1.
 

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!