Bug: restic --iexclude-file --> --exclude-file (#336)

---
Version restic auf Ubuntu zu alt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#336
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2022-02-25 13:25:05 +01:00
parent 9fb0401eca
commit 5ebcfd9146

View file

@ -8,7 +8,7 @@ OnFailure=restic_mail.service
[Service] [Service]
Type=simple Type=simple
EnvironmentFile={{ restic_conf_dir }}/restic.env 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 #} {# -iexclude-file Same as exclude-file but ignores cases like in --iexclude; https://restic.readthedocs.io/en/latest/040_backup.html #}
User={{ restic_user }} User={{ restic_user }}
Group={{ restic_group }} Group={{ restic_group }}