ignoring the new fastdl on hetzner host

This commit is contained in:
jenz 2024-06-17 19:35:06 +02:00
parent 14acc55aea
commit c0ed7d5286

View File

@ -51,7 +51,7 @@ class sftp_remote:
#-T3= 3 threads, use 70% of available ram #-T3= 3 threads, use 70% of available ram
if 'tar_recursive' == command_state: 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/ --exclude=/home/autismbot1 --exclude=/home/autismbot2 --exclude=/home/autismbot3 --exclude=/home/autismbot4 --exclude=/home/nonroot2 -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/ --exclude=/home/autismbot1 --exclude=/home/autismbot2 --exclude=/home/autismbot3 --exclude=/home/autismbot4 --exclude=/home/nonroot2 --exclude=/home/fastdl -cJf {zipname} {self.path}"
elif 'mysqldump' == command_state: elif 'mysqldump' == command_state:
#check README for my.cnf regarding how this works #check README for my.cnf regarding how this works
exec_command_state = f'mysqldump -u backups_db --all-databases > mysqldump.sql' exec_command_state = f'mysqldump -u backups_db --all-databases > mysqldump.sql'