[SOLVED] Retention policy not working as expected

Jun 10, 2026
26
1
3
Hi,
PBS 4.2
PVE 9.2.21
We have defined 4 namespaces in PBS. One is "File servers", an other "Cegid" for ERP servers.
Retention is defined as follow for th relatd backups jobs : Daily : 7 - weelkly : 2 - monthly 2.
Retention is ok for "Files servers" but not working correctly for "Cegid" : wekly and monthly backups are missing.
At this time i don't know what to check. Changing retention policy as no effect.
Regards.
 
Do you have a prune job configured on the PBS which would interfere with your client side retention settings? If so, note that it is best to let either the client or the PBS handle the retention.

edit: fixed typo
 
Last edited:
Do you have a prune job configured on the PBS which would interfere with your client side retention settings? If so, note that it is best to let either the client or the PBS handle the retention.

edit: fixed typo
Yes i have. On both. Do i remove them to avoid the problem ?
I'm not sure to correctly understand.
 
What I meant is if you have the client side (PVE) and the server side (prune jobs on PBS) doing the pruning, they might disagree on what to keep depending on the settings on each site. So it is best to let the pruning be done by one or the other, whichever fits your needs best.