From 5ebcfd9146bd92f7a4c61af7dbe091a0c3298b2d Mon Sep 17 00:00:00 2001 From: mg Date: Fri, 25 Feb 2022 13:25:05 +0100 Subject: [PATCH] Bug: restic --iexclude-file --> --exclude-file (#336) --- Version restic auf Ubuntu zu alt Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/336 Co-authored-by: mg Co-committed-by: mg --- roles/mgrote.restic/templates/restic.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mgrote.restic/templates/restic.service.j2 b/roles/mgrote.restic/templates/restic.service.j2 index 76d5b976..bf498f75 100644 --- a/roles/mgrote.restic/templates/restic.service.j2 +++ b/roles/mgrote.restic/templates/restic.service.j2 @@ -8,7 +8,7 @@ OnFailure=restic_mail.service [Service] Type=simple EnvironmentFile={{ restic_conf_dir }}/restic.env -ExecStart=/usr/bin/restic backup --one-file-system --no-cache --iexclude-file {{ restic_conf_dir }}/excludes {{ restic_folders_to_backup }} +ExecStart=/usr/bin/restic backup --one-file-system --no-cache --exclude-file {{ restic_conf_dir }}/excludes {{ restic_folders_to_backup }} {# -iexclude-file Same as exclude-file but ignores cases like in --iexclude; https://restic.readthedocs.io/en/latest/040_backup.html #} User={{ restic_user }} Group={{ restic_group }}