Skip to content
Snippets Groups Projects
Verified Commit 16d56529 authored by David Mehren's avatar David Mehren
Browse files

Make retention configurable

parent 8778955b
No related branches found
Tags v1.1
No related merge requests found
......@@ -30,3 +30,8 @@ borgbackup_exclude_dirs:
- sh:/home/*/**/bower_components
borgbackup_pool: "/mnt/borgpool"
borgbackup_keep_within: 7d
borgbackup_keep_daily: 21
borgbackup_keep_weekly: 8
borgbackup_keep_monthly: 6
borgbackup_keep_yearly: 0
......@@ -21,11 +21,11 @@ storage:
retention:
# Retention policy for how many backups to keep in each category.
keep_within: 7d
keep_daily: 21
keep_weekly: 8
keep_monthly: 6
keep_yearly: 0
keep_within: {{ borgbackup_keep_within }}
keep_daily: {{ borgbackup_keep_daily }}
keep_weekly: {{ borgbackup_keep_weekly }}
keep_monthly: {{ borgbackup_keep_monthly }}
keep_yearly: {{ borgbackup_keep_yearly }}
consistency:
checks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment