mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-14 08:10:14 +01:00
bug fix in exclude
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user