Skip to content

Commit

Permalink
configure backups to only keep a certain number of old snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Aug 31, 2023
1 parent f7efa63 commit a1cf0ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions puppet/data/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ restic::backup_timer: 'daily'
restic::type: 'sftp'
restic::host: '%{alias("backup_servicename")}'
restic::id: '%{alias("backup_username")}'
restic::enable_forget: true
restic::forget:
keep-daily: 14
keep-weekly: 4
restic::forget_timer: 'weekly'
restic::prune: true

profiles::jenkins::controller::plugins:
- 'Matrix-sorter-plugin'
Expand Down

0 comments on commit a1cf0ac

Please sign in to comment.