WIP: backups with borg and borgmatic #39

Manually merged
jeltz merged 45 commits from backups into master 2024-07-01 01:55:28 +02:00
Showing only changes of commit 46d10022ea - Show all commits

View file

@ -2,7 +2,10 @@
{{ ansible_managed | comment }} {{ ansible_managed | comment }}
location: location:
source_directories: {{ borg_backup_directories | to_nice_yaml }} source_directories:
{% for source in borg_backup_directories %}
- {{ source }}
{% endfor %}
repositories: repositories:
- {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }} - {{ borg_server_user }}@{{ borg_server_host }}:{{ borg_host_dir }}
@ -16,9 +19,9 @@ storage:
retention: retention:
keep_daily: "{{ borg_keep_daily }}" keep_daily: {{ borg_keep_daily }}
keep_weekly: "{{ borg_keep_weekly }}" keep_weekly: {{ borg_keep_weekly }}
keep_monthly: "{{ borg_keep_monthly }}" keep_monthly: {{ borg_keep_monthly }}
consistency: consistency:
checks: checks: