This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
lewis/roles/borg/templates/backup.yml.j2

15 lines
325 B
Text
Raw Normal View History

2023-04-11 20:10:57 +00:00
location:
source_directories:
- /mnt/atlas
repositories:
- {{ backup_location }}
retention:
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
hooks:
before_everything:
- echo down | ssh backup-control@atlas.lan
after_everything:
- echo up | ssh backup-control@atlas.lan