backup.sh: Fix backup path for the new synology device

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
Anna Schumaker 2023-07-19 13:24:45 -04:00
parent 078d6e126e
commit 0b9af1b0ff
1 changed files with 2 additions and 2 deletions

View File

@ -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!"