2023-03-06 23:13:54 +00:00
|
|
|
---
|
|
|
|
|
2023-07-28 07:03:59 +00:00
|
|
|
repositories:
|
|
|
|
{% for repository in borgmatic_repositories %}
|
|
|
|
- label: {{ repository.label }}
|
|
|
|
path: {{ repository.path }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
exclude_patterns:
|
|
|
|
{% for pattern in borgmatic_exclude_patterns %}
|
|
|
|
- {{ pattern }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
source_directories:
|
|
|
|
{% for directory in borgmatic_source_directories %}
|
|
|
|
- {{ directory }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
archive_name_format: {{ borgmatic_name }}
|
|
|
|
compression: {{ borgmatic_compression }}
|
|
|
|
encryption_passphrase: {{ borgmatic_passphrase }}
|
|
|
|
|
2023-03-06 23:13:54 +00:00
|
|
|
consistency:
|
2023-07-28 07:03:59 +00:00
|
|
|
checks:
|
|
|
|
{% for check in borgmatic_checks %}
|
|
|
|
- name: {{ check.name }}
|
|
|
|
frequency: {{ check.frequency }}
|
|
|
|
{% endfor %}
|
2023-03-06 23:13:54 +00:00
|
|
|
|
|
|
|
hooks:
|
|
|
|
healthchecks:
|
|
|
|
ping_url: {{ borgmatic_healthchecks }}
|
|
|
|
send_logs: false
|
2023-07-28 07:03:59 +00:00
|
|
|
states:
|
|
|
|
- finish
|
|
|
|
- fail
|
2023-03-06 23:13:54 +00:00
|
|
|
|
|
|
|
retention:
|
|
|
|
keep_daily: {{ borgmatic_retention.daily }}
|
|
|
|
keep_monthly: {{ borgmatic_retention.monthly }}
|
|
|
|
keep_weekly: {{ borgmatic_retention.weekly }}
|