role_borgmatic/templates/config.yaml.j2

28 lines
677 B
Django/Jinja

---
exclude_patterns: {{ borgmatic_exclude_patterns }}
source_directories: {{ borgmatic_source_directories }}
archive_name_format: {{ borgmatic_name }}
compression: {{ borgmatic_compression }}
encryption_passphrase: {{ borgmatic_passphrase }}
repositories:
{% for repository in borgmatic_repositories %}
- label: {{ repository.label }}
path: {{ repository.path }}
{% endfor %}
consistency:
checks: {{ borgmatic_checks }}
hooks:
healthchecks:
ping_url: {{ borgmatic_healthchecks }}
send_logs: false
retention:
keep_daily: {{ borgmatic_retention.daily }}
keep_monthly: {{ borgmatic_retention.monthly }}
keep_weekly: {{ borgmatic_retention.weekly }}