From d26654f3414c17f94d1f4ca6b881b3b98cc5db15 Mon Sep 17 00:00:00 2001 From: Alik Kurdyukov Date: Sun, 15 Jun 2025 12:39:09 +0400 Subject: [PATCH] Fix legacy config (2) --- templates/config.yaml.j2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index b896911..930e6fb 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -18,10 +18,10 @@ one_file_system: {{ borg_one_file_system }} repositories: {% if borg_repository is iterable and (borg_repository is not string and borg_repository is not mapping) %} {% for repo in borg_repository %} - - {{ repo }} + - path: {{ repo }} {% endfor %} {% elif borg_repository is defined and borg_repository is string %} - - {{ borg_repository }} + - path: {{ borg_repository }} {% endif %} # Store atime into archive. @@ -52,7 +52,8 @@ exclude_from: exclude_caches: true # 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". # remote_path: borg1