Configuration support for additional attic prune flags: keep_within, keep_hourly, keep_yearly, and prefix.

This commit is contained in:
2014-12-06 18:35:20 -08:00
parent 2038354b61
commit 63018fad4e
9 changed files with 341 additions and 124 deletions

View File

@@ -7,6 +7,11 @@ repository: user@backupserver:sourcehostname.attic
[retention]
# Retention policy for how many backups to keep in each category.
# See https://attic-backup.org/usage.html#attic-prune for details.
#keep_within: 3h
#keep_hourly: 24
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
keep_yearly: 1
#prefix: sourcehostname