mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-24 00:09:03 +01:00
big a probable bug with backups v2
This commit is contained in:
@@ -1501,7 +1501,8 @@ Automatic Backupv2 failed for %s on %s.
|
||||
else:
|
||||
value['lastRun'] = time.strftime("%m.%d.%Y_%H-%M-%S")
|
||||
|
||||
background.DeleteSnapshots(f"--keep-daily {value['retention']}")
|
||||
if function == '1 Week':
|
||||
background.DeleteSnapshots(f"--keep-daily {value['retention']}")
|
||||
except BaseException as msg:
|
||||
print("Error: [v2Backups]: %s" % str(msg))
|
||||
logging.writeToFile('%s. [v2Backups]' % (str(msg)))
|
||||
|
||||
Reference in New Issue
Block a user