resticprofile
resticprofile copied to clipboard
different retention policy for repo and copy
Hi,
is it possible to define different retention policies for a repo and its copy?
Like
[default]
repository = ...
...
[default.retention]
keep-daily = 10
...
[default.copy]
repository = ...
...
[default.copy.retention]
keep-daily = 365
...
Use case would be: default is a local repo where copy is a remote repo and local repo should not hold as much snapshots as remote repo.
Regards abelbabel
Yes, I can see how that would be useful.
As a workaround, you can make a new profile for the copy and schedule a forget independently. Not as neat. but it would work for now 👍🏻