Fix legacy config (2)

This commit is contained in:
Alik Kurdyukov 2025-06-15 12:39:09 +04:00
parent 982fb1cab3
commit d26654f341

View File

@ -18,10 +18,10 @@ one_file_system: {{ borg_one_file_system }}
repositories: repositories:
{% if borg_repository is iterable and (borg_repository is not string and borg_repository is not mapping) %} {% if borg_repository is iterable and (borg_repository is not string and borg_repository is not mapping) %}
{% for repo in borg_repository %} {% for repo in borg_repository %}
- {{ repo }} - path: {{ repo }}
{% endfor %} {% endfor %}
{% elif borg_repository is defined and borg_repository is string %} {% elif borg_repository is defined and borg_repository is string %}
- {{ borg_repository }} - path: {{ borg_repository }}
{% endif %} {% endif %}
# Store atime into archive. # Store atime into archive.
@ -52,7 +52,8 @@ exclude_from:
exclude_caches: true exclude_caches: true
# Exclude directories that contain a file with the given filename. # Exclude directories that contain a file with the given filename.
exclude_if_present: .nobackup exclude_if_present:
- .nobackup
# Alternate Borg remote executable. Defaults to "borg". # Alternate Borg remote executable. Defaults to "borg".
# remote_path: borg1 # remote_path: borg1