resticprofile icon indicating copy to clipboard operation
resticprofile copied to clipboard

different retention policy for repo and copy

Open abelbabel opened this issue 1 month ago • 1 comments

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

abelbabel avatar Nov 24 '25 12:11 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 👍🏻

creativeprojects avatar Dec 02 '25 22:12 creativeprojects