From ac14742e3c1e55be3064a1124375a060128a6346 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Wed, 30 Aug 2023 13:57:53 +0200 Subject: [PATCH] updated borg state --- states/borg/templates/borg_job.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/states/borg/templates/borg_job.sh.j2 b/states/borg/templates/borg_job.sh.j2 index 9273638..0fcfa43 100644 --- a/states/borg/templates/borg_job.sh.j2 +++ b/states/borg/templates/borg_job.sh.j2 @@ -40,6 +40,7 @@ borg create \ --stats \ --show-rc \ --compression {{ job.compression|default('lz4') }} \ + --exclude-if-present '.nobackup' \ {%- if job.excluded_dirs is defined -%} {%- for exclude in job.excluded_dirs %} --exclude '{{ exclude }}' \