diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index 6b659a8..cfaf2e1 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -17,9 +17,13 @@ location: # Stay in same file system (do not cross mount points). one_file_system: {{ borg_one_file_system }} repositories: +{% if borgbase is define and borgbase %} + - ssh://{{ borgbase_repo.repo_id }}@{{ borgbackup_ssh_host }}/./repo" +{% else %} {% for repo in borg_repository %} - {{ repo.path }} {% endfor %} +{% endif %} # Store atime into archive. atime: {{ borgmatic_store_atime }}