From e67b11b356fbd30c0724e337b62faf80a533dea1 Mon Sep 17 00:00:00 2001 From: SebClem Date: Fri, 17 May 2024 11:07:13 +0200 Subject: [PATCH] Fix config template --- templates/config.yaml.j2 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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 %}