updated to xz compression
This commit is contained in:
@@ -71,7 +71,7 @@ def main():
|
||||
src.delete_local_zip(zip_file_path)
|
||||
elif "mysqldump" in job["job_name"]:
|
||||
src.remote_channel_command(job, "mysqldump")
|
||||
zipname = src.remote_channel_command(job, "zip_mysqldump")
|
||||
zipname = src.remote_channel_command(job, "tar_mysqldump")
|
||||
if zipname is None:
|
||||
logging.warning(f'failed zipping remote directory at job {job}')
|
||||
sys.exit(1)
|
||||
@@ -87,7 +87,7 @@ def main():
|
||||
sys.exit(1)
|
||||
src.delete_local_zip(local_zip_path_name)
|
||||
elif "backup_remote" in job["job_name"]:
|
||||
zipname = src.remote_channel_command(job, "zip_recursive")
|
||||
zipname = src.remote_channel_command(job, "tar_recursive")
|
||||
if zipname is None:
|
||||
logging.warning(f'failed zipping remote directory at job {job}')
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user