[modify] change multi-thread compression algo from pixz to pigz, and add a comment of how to uncompress
This commit is contained in:
parent
cf91fbd224
commit
6523b0eac0
@ -41,12 +41,13 @@ fi
|
||||
if [[ `date +%d` == '01' ]]; then
|
||||
t=`date +%Y%m%d%H%M%S` && cd /opt/wd/72-Backups/
|
||||
|
||||
tar -I pixz -cf vps-${t}.tar.gz \
|
||||
tar -I pigz -cf vps-${t}.tar.gz \
|
||||
--exclude=VPS/apps/localcr/B_koel/local/music \
|
||||
--exclude=VPS/apps/localcr/I_cloudreve/local/cloudreve/uploads \
|
||||
--exclude=VPS/apps/localcr/K_nextcloud/local/nextcloud/data/nextcloud/files \
|
||||
--exclude=VPS/apps/syncthing/data \
|
||||
VPS/ > /dev/null 2>&1
|
||||
# tar -I unpigz -xf vps-20231101162641.tar.gz
|
||||
|
||||
scp -r /opt/configs/certs/ arm1:/opt/ > /dev/null 2>&1 &
|
||||
scp -r /opt/configs/certs/ arm2:/opt/ > /dev/null 2>&1 &
|
||||
|
Loading…
x
Reference in New Issue
Block a user