Hi.
I have a PBS server running a backup job of our PVE environment. It has a job which keeps last 7 days and then prunes. This job syncs every day to an offsite storage, and it works very well.
The problem is, i need to have 7 days of retention on local backup, and 30 days + 1 monthly for 6 months retention on remote backup. That's not a problem for day to day use, but when I remove a VM from pve, it only gets removed from the local backup storage.
Example:
vm/110 is removed from pve. after 7 days, it's gone from the local storage, but it does not seem to delete the daily backups older than 30 days on the offsite storage, which is desirable.
This is my prunejob on the offsite storage:
This is my sync job:
I have a PBS server running a backup job of our PVE environment. It has a job which keeps last 7 days and then prunes. This job syncs every day to an offsite storage, and it works very well.
The problem is, i need to have 7 days of retention on local backup, and 30 days + 1 monthly for 6 months retention on remote backup. That's not a problem for day to day use, but when I remove a VM from pve, it only gets removed from the local backup storage.
Example:
vm/110 is removed from pve. after 7 days, it's gone from the local storage, but it does not seem to delete the daily backups older than 30 days on the offsite storage, which is desirable.
This is my prunejob on the offsite storage:
This is my sync job: