bug fix in exclude

This commit is contained in:
usman@cyberpersons.com
2023-04-14 17:02:20 +05:00
parent f4ba445750
commit 950fccad22

View File

@@ -634,7 +634,7 @@ team_drive =
## 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'))