Update rsync scripts

This commit is contained in:
albert 2024-07-09 17:19:54 +09:00
parent c658047e59
commit 92408ce6fa
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -50,8 +50,8 @@ if [[ $check != 1 ]] ; then
fi
echo -e "======= Time started : `date`"
echo -e "rsync -avr --delete --exclude=Downloads/ --exclude='Data/Docker/sysctl.io/' root@nuc-docker01:/Storage/Data/ /mnt/$drivea/Data/"
rsync -avr --delete --exclude=Downloads/ --exclude='Data/Docker/sysctl.io/' root@nuc-docker01:/Storage/Data/ /mnt/$drivea/Data/
echo -e "rsync -avr --delete --exclude=Downloads/ --exclude='Docker/sysctl.io' root@nuc-docker01:/Storage/Data/ /mnt/$drivea/Data/"
rsync -avr --delete --exclude=Downloads/ --exclude='Docker/sysctl.io' root@nuc-docker01:/Storage/Data/ /mnt/$drivea/Data/
echo -e "======= Time complete: `date`"
echo "Sending completion message"