From 18258767ff7b02278cb2d5d69c0b208c95d470f5 Mon Sep 17 00:00:00 2001
From: Hannes Braun <hannes.braun@slub-dresden.de>
Date: Mon, 17 Jun 2024 15:56:39 +0200
Subject: [PATCH] Fixed wrong templating for source and exclude directories

---
 templates/opt/simple-backup/simple-backup.conf.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/opt/simple-backup/simple-backup.conf.j2 b/templates/opt/simple-backup/simple-backup.conf.j2
index 6f35f1c..cc6c372 100644
--- a/templates/opt/simple-backup/simple-backup.conf.j2
+++ b/templates/opt/simple-backup/simple-backup.conf.j2
@@ -5,8 +5,8 @@ volume={{ simple_backup_config.nfs_volume_path }}
 
 [files]
 {% for item in simple_backup_config.sources %}
-    nfs={{ item }}
+source={{ item }}
 {% endfor %}
 {% for item in simple_backup_config.excludes %}
-    exclude={{ item }}
+exclude={{ item }}
 {% endfor %}
-- 
GitLab