Skip to content

Commit

Permalink
bug fix in exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Apr 14, 2023
1 parent f4ba445 commit 950fcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plogical/Backupsv2.py
Expand Up @@ -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'))
Expand Down

0 comments on commit 950fcca

Please sign in to comment.