From b7ae4e5f401e70105d35d85619e7e41c51d98fcb Mon Sep 17 00:00:00 2001 From: jenz Date: Thu, 15 Jun 2023 19:37:01 +0200 Subject: [PATCH] removed dash --- file_mover/remote_sftp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file_mover/remote_sftp.py b/file_mover/remote_sftp.py index 7ee4e751..2b58c460 100755 --- a/file_mover/remote_sftp.py +++ b/file_mover/remote_sftp.py @@ -52,7 +52,7 @@ class sftp_remote: #-T3= 3 threads, use 70% of available ram #TODO exclude dir where hlstats spams pictures of the player graphs if 'tar_recursive' == command_state: - exec_command_state = f"XZ_OPT='-T3 --memlimit-compress=70%' tar --exclude={zipname} --exclude=/home/nonroot/backups/ --exclude=/home/nonroot/demos --exclude=/home/nonroot/snap --exclude=logs/ --ignore-failed-read -cJf {zipname} {self.path}" + exec_command_state = f"XZ_OPT='-T3 --memlimit-compress=70%' tar --exclude={zipname} --exclude=/home/nonroot/backups --exclude=/home/nonroot/demos --exclude=/home/nonroot/snap --exclude=logs/ --ignore-failed-read -cJf {zipname} {self.path}" elif 'mysqldump' == command_state: #check README for my.cnf regarding how this works exec_command_state = f'mysqldump -u backups_db --all-databases > mysqldump.sql'