backup.sh: Fix backup path for the new synology device
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
078d6e126e
commit
0b9af1b0ff
|
@ -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!"
|
||||
|
|
Loading…
Reference in New Issue