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

18 lines
444 B
Text
Raw Normal View History

2023-01-10 22:55:25 +00:00
location:
source_directories:
2023-01-11 00:04:13 +00:00
- {{ base_data_dir }}
2023-01-10 22:55:25 +00:00
repositories:
2023-01-11 19:04:31 +00:00
- ssh://root@lewis.lan/{{ backup_location }}
2023-01-10 22:55:25 +00:00
retention:
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
storage:
2023-01-11 08:49:38 +00:00
ssh_command: ssh -i {{ service_dir }}/id_ed25519
2023-01-10 22:55:25 +00:00
unknown_unencrypted_repo_access_is_ok: true
2023-01-11 00:04:13 +00:00
hooks:
before_everything:
- systemctl stop docker docker.socket
after_everything:
- systemctl start docker