The python script is invoked as 'root' which does the dump and restore.
Code snippet:
Code:
def dump_db(self):
if not os.path.exists(self.db_backup_file_path):
try:
os.makedirs(self.db_backup_file_path)
except:
Leave a comment: