From a10b655e890d2f39e405766be40198a883d871ec Mon Sep 17 00:00:00 2001 From: Luc Stroobant Date: Sun, 17 Jan 2021 06:31:46 +0100 Subject: [PATCH] Quote exclude patterns correctly. By @stroobl (#56) --- templates/config.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/config.yaml.j2 b/templates/config.yaml.j2 index 9ce4216..94de878 100644 --- a/templates/config.yaml.j2 +++ b/templates/config.yaml.j2 @@ -27,7 +27,7 @@ location: # are expanded. See the output of "borg help patterns" for more details. exclude_patterns: {% for dir in borg_exclude_patterns %} - - {{ dir }} + - '{{ dir }}' {% endfor %} # Read exclude patterns from one or more separate named files, one pattern per