I’m trying to support the following backup retention policy:
- keep hourly backups for the most recent 7d
- after that, keep 1 snapshot / day
- don’t keep snapshots older than 1y
I’m currently running restic
backups automatically 1x/h. Here’s what I’ve tried:
restic forget --keep-hourly 168 --keep-daily 365
Even when I run --dry-run
, I’m not sure this is what I want (because I only have 4d’s worth of backups). What configuration would support this?