From 284144bc9feb3f2c7d99e15ea32eeb6b0462007c Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 6 Jun 2024 09:34:15 +0900 Subject: [PATCH] Update backups --- nixos/hosts/backups-rpi4/scripts/rsync-sysctl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/backups-rpi4/scripts/rsync-sysctl.sh b/nixos/hosts/backups-rpi4/scripts/rsync-sysctl.sh index 2f092d88..cc73da13 100644 --- a/nixos/hosts/backups-rpi4/scripts/rsync-sysctl.sh +++ b/nixos/hosts/backups-rpi4/scripts/rsync-sysctl.sh @@ -43,8 +43,8 @@ fi # Start the backups echo -e "======= Time started : `date`" -echo -e "rsync -avr --delete --exclude=Downloads/ root@framework-server:/Storage/Data/Docker/sysctl.io/ /mnt/$driveb/Data/Docker/sysctl.io/" -rsync -avr --delete --exclude=Downloads/ root@framework-server:/Storage/Data/Docker/sysctl.io/ /mnt/$driveb/Data/Docker/sysctl.io/ +echo -e "rsync -avr --delete --exclude=Downloads/ root@framework-server:/Storage/Data/Docker/sysctl.io/ /mnt/$drivea/Data/Docker/sysctl.io/" +rsync -avr --delete --exclude=Downloads/ root@framework-server:/Storage/Data/Docker/sysctl.io/ /mnt/$drivea/Data/Docker/sysctl.io/ echo -e "======= Time complete: `date`" echo "Sending completion message"