diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index a0080bd..f709137 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -76,14 +76,8 @@ exclude_if_present: remote_path: {{ borg_remote_path }} {% endif %} -# Repository storage options. See -# https://borgbackup.readthedocs.io/en/stable/usage.html#borg-create and -# https://borgbackup.readthedocs.io/en/stable/usage/general.html#environment-variables for -# details. -storage: {% if borg_encryption_passphrase %} - encryption_passphrase: {{ borg_encryption_passphrase }} - +encryption_passphrase: {{ borg_encryption_passphrase }} {% endif %} # The standard output of this command is used to unlock the encryption key. Only # use on repositories that were initialized with passcommand/repokey encryption. @@ -190,5 +184,5 @@ check_last: {{ borgmatic_check_last }} # prevent potential shell injection or privilege escalation. {% for hook in borgmatic_hooks %} {{ hook }}: - {{ borgmatic_hooks[hook] | to_nice_yaml(indent=2) | trim | indent(8) }} + {{ borgmatic_hooks[hook] | to_nice_yaml(indent=4) | indent(4) }} {% endfor %}