Backup retention for different jobs

tippy88

New Member
Nov 14, 2023
7
0
1
Hi all,

I can't find out how to properly configure backup retention for my use.
I have basically 2 Jobs configured:
1. Does weekly STOP backups on Sunday of my containers.
2. Does Daily Snapshots of all containers

Unfortunately the retention periods of the Jobs are not particular for the Job itself but will consider all Jobs. So the retention period of Job 2 also cleans backups from 1.
Ideally I want to keep the last STOP backup and the last 2 Snapshots only. Any idea how to achieve this? Currently I have setup keep last 8 backups. This keeps the Sunday STOP backup and all Snapshots during the week, but consumes a lot of space which I won't have for much longer...

Any thoughts?

kind regards,
Tobias
 
consider two storage config entries (using different paths for legacy style backups, or targetting different namespaces on the same PBS datastore for PBS). the storage doesn't care which job created a backup, so this is the only way to differentiate them.
 
  • Like
Reactions: tippy88