mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
rustic installed1
This commit is contained in:
@@ -328,7 +328,6 @@ class CPBackupsV2:
|
||||
def Incrmentalback(self):
|
||||
try:
|
||||
|
||||
logging.CyberCPLogFileWriter.writeToFile('--------------habbi-----------test----------')
|
||||
url = "https://api.github.com/repos/rustic-rs/rustic/releases/latest"
|
||||
response = requests.get(url)
|
||||
|
||||
@@ -352,6 +351,8 @@ class CPBackupsV2:
|
||||
command = 'sudo mv /home/rustic/rustic /usr/bin/'
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'rm -rf /home/rustic'
|
||||
ProcessUtilities.executioner(command)
|
||||
except BaseException as msg:
|
||||
print('Error: %s'%msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user