From 8f7bc85fe6de1d35e2f53bde2a54c9e8a63329f9 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 20 Feb 2023 15:25:37 +0500 Subject: [PATCH] rustic installed1 --- plogical/Backupsv2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plogical/Backupsv2.py b/plogical/Backupsv2.py index 850a54fe0..9f3f89a3e 100644 --- a/plogical/Backupsv2.py +++ b/plogical/Backupsv2.py @@ -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)