-
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Fabrice Laporte edited this page Dec 23, 2017
·
1 revision
cronicle scans .cronicle.yaml
and cleanup parent folder archives accordingly.
~/backups/prod_*.dump.bin
daily: 4
weekly: 7
monthly: 6
~/backups/recette_*.dump.bin
The root elements must be regexes, one for each set of archives to maintain.
Here, we configure archives for dump of a production db, keeping :
- the 4 last spaced with at least 1 day
- the 7 last spaced with at least 1 week
- the 6 last spaced with at least 1 month
By default, if only the pattern is given, cronicle will delete all archives but the most recent one.