Date-based backup retention

fh4352

New Member
Jul 2, 2025
2
0
1
Hello everyone,

Is there any way to have retention run based on DATE instead of COUNT? The PBS 4.1.6 Prune settings do not allow for any "delete after 1 month" or the like.
The problem with this is that any time a VM changes ID, gets deleted or moves to a different namespace those backups get orphaned and just sit there forever without human intervention (or until a new VM takes the ID and overrides them).

I only want to keep backups within the current month, I have no use for backups older than that, Is there a function I missed or a workaround?