Pruning policy - sanity check

Wanted to achieve the following retention policy for daily backups and just need confirmation of the command to run

  1. daily keep for 28 days (4 weeks)
  2. older than 28 days (4 weeks) keep weeklies for 84 days (12 weeks)
  3. older than 84 days (12 weeks) keep “4 weeklies” for 182 days (26 weeks)
  4. older than 182 days (26 weeks) don’t keep

Is this the magic sauce?

duplicacy prune -all -keep 0:182 -keep 28:84 -keep 7:28 -keep 1:1

Sounds about right.
.

1 Like

Thanks. Needed a thumbs-up from a pro.