#jinja2: lstrip_blocks: "True", trim_blocks: "True" location: source_directories: - {{ matrix_backup_borg_source }} repositories: - {{ matrix_backup_borg_repository }} one_file_system: true exclude_patterns: {% for pattern in matrix_backup_borg_exclude %} - {{ pattern }} {% endfor %} storage: compression: {{ matrix_backup_borg_compression }} ssh_command: {{ matrix_backup_borg_ssh_command }} archive_name_format: '{{ matrix_backup_borg_name }}' encryption_passphrase: {{ matrix_backup_borg_passphrase }} retention: keep_hourly: {{ matrix_backup_borg_hourly }} keep_daily: {{ matrix_backup_borg_daily }} keep_weekly: {{ matrix_backup_borg_weekly }} keep_monthly: {{ matrix_backup_borg_monthly }} keep_yearly: {{ matrix_backup_borg_yearly }} prefix: '{{ matrix_backup_borg_prefix }}' consistency: checks: - repository - archives hooks: after_backup: - echo "Backup created." on_error: - echo "Error while creating a backup."