mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 13:25:51 +01:00
Fix Dates. Improve CSF integration. Fix Typos
This commit is contained in:
6
backup/backupManager.py
Executable file → Normal file
6
backup/backupManager.py
Executable file → Normal file
@@ -142,10 +142,10 @@ class BackupManager:
|
||||
|
||||
## /home/example.com/backup
|
||||
backupPath = os.path.join("/home", backupDomain, "backup/")
|
||||
domainUser = website.externalApp
|
||||
backupName = 'backup-' + domainUser + "-" + time.strftime("%I-%M-%S-%a-%b-%Y")
|
||||
backupDomainName = data['websiteToBeBacked']
|
||||
backupName = 'backup-' + backupDomainName + "-" + time.strftime("%m.%d.%Y_%H-%M-%S")
|
||||
|
||||
## /home/example.com/backup/backup-example-06-50-03-Thu-Feb-2018
|
||||
## /home/example.com/backup/backup-example.com-02.13.2018_10-24-52
|
||||
tempStoragePath = os.path.join(backupPath, backupName)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user