From 0b9af1b0ff881fd804dbc95c6b4df3f827e8294c Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Wed, 19 Jul 2023 13:24:45 -0400 Subject: [PATCH] backup.sh: Fix backup path for the new synology device Signed-off-by: Anna Schumaker --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index a0a63f8..e48cc48 100755 --- a/backup.sh +++ b/backup.sh @@ -24,7 +24,7 @@ SERVER=cheesecake # Path where the backup will be placed # Note that this is on the client, using autofs -BACKUP_DIRECTORY=/net/cheesecake/srv/Backups/`hostname -f` +BACKUP_DIRECTORY=/net/cheesecake/backups/`hostname -f` # Path on this machine where output should be written LOG=/tmp/backup.log @@ -48,5 +48,5 @@ if [ $? != 0 ]; then fi -rsync -axvh --inplace --delete --delete-excluded --exclude-from=$EXCLUDE $BACKUP $BACKUP_DIRECTORY >> $LOG +rsync -axvhz --inplace --delete-delay --delete-excluded --exclude-from=$EXCLUDE $BACKUP $BACKUP_DIRECTORY >> $LOG notify-send "Backup finished!"