From 92408ce6fa4be5c1d18a4fe3bc05a12e0e1b892a Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 9 Jul 2024 17:19:54 +0900 Subject: [PATCH] Update rsync scripts --- nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh b/nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh index 383e141f..0abdee89 100644 --- a/nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh +++ b/nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh @@ -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"