diff --git a/plogical/Backupsv2.py b/plogical/Backupsv2.py index 7c28af472..7f80d82ec 100644 --- a/plogical/Backupsv2.py +++ b/plogical/Backupsv2.py @@ -634,7 +634,7 @@ def BackupRustic(self): ## Pending add user provided folders in the exclude list - exclude = f' --exclude-if-present {source}/logs ' + exclude = f' --glob !{source}/logs ' command = f'rustic -r {self.repo} backup {source} --password "" {exclude} --json 2>/dev/null' result = json.loads(ProcessUtilities.outputExecutioner(command, self.website.externalApp, True).rstrip('\n'))