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