There appears to be mulitple places where one can configure retention.
On PBS, under the datastore->prune&GC, it looks like you can specify retention. When you configure a new storage on PVE using a PBS, it looks like you can also specify retention on the storage. And finally, when you configure a backup job in PVE, it also looks like yet another place to configure retention. This makes a total of 3 different places that I've seen involving backups/storage where you can specify retention.
So it's a bit confusing where one should configure the retention.
Also, if retention were configured in multiple places, is there some sort of hierarchical precedence? Or does the smallest retention value take effect (ie. keep 30 dailies on PBS, and keep 7 dailies on backup job would result in keeping only 7 days) since each respective setting is applying the retentions they have resulting on the smallest retention taking effect?
Also, on the PVE side of things both storage and backup job have a checkbox for "keep all backups". What exactly does this do? If you tick this, does it override all retentions and nothing gets aged out? Is this like a master switch to prevent any of the backups from ever getting purged regardless of the retention settings?
Can someone explain the differences in these retention settings and what is best practices? Is everyone just configuring retention in one place to avoid confusion?
On PBS, under the datastore->prune&GC, it looks like you can specify retention. When you configure a new storage on PVE using a PBS, it looks like you can also specify retention on the storage. And finally, when you configure a backup job in PVE, it also looks like yet another place to configure retention. This makes a total of 3 different places that I've seen involving backups/storage where you can specify retention.
So it's a bit confusing where one should configure the retention.
Also, if retention were configured in multiple places, is there some sort of hierarchical precedence? Or does the smallest retention value take effect (ie. keep 30 dailies on PBS, and keep 7 dailies on backup job would result in keeping only 7 days) since each respective setting is applying the retentions they have resulting on the smallest retention taking effect?
Also, on the PVE side of things both storage and backup job have a checkbox for "keep all backups". What exactly does this do? If you tick this, does it override all retentions and nothing gets aged out? Is this like a master switch to prevent any of the backups from ever getting purged regardless of the retention settings?
Can someone explain the differences in these retention settings and what is best practices? Is everyone just configuring retention in one place to avoid confusion?