Retention rules
keep = hourly=24, daily=7, weekly=4, monthly=6 keeps the newest snapshot in each of the last 24
hours, 7 days, 4 weeks and 6 months. One snapshot can satisfy several rules; it is deleted only when no rule keeps
it.
| Rule | Bucket | Kept |
|---|---|---|
| hourly=N | UTC hour | newest snapshot per hour, last N hours that have one |
| daily=N | UTC day | newest per day |
| weekly=N | ISO week, UTC | newest per week |
| monthly=N | calendar month, UTC | newest per month |
Buckets are UTC since 0.3.2 (why). Always try
prune --dry-run after changing rules.