Modified rsync for faster transfer

This commit is contained in:
Matthew McKinnon 2015-06-21 17:09:53 +10:00
parent 7668a80396
commit daaec00839

View File

@ -17,7 +17,7 @@ echo "****************************************************************" > $LOG 2
echo "* Start Backup `date` *" >> $LOG 2>&1 echo "* Start Backup `date` *" >> $LOG 2>&1
echo "****************************************************************" >> $LOG 2>&1 echo "****************************************************************" >> $LOG 2>&1
rsync -rltDyzPOu --delete /data/ /mnt/nas/ >> $LOG 2>&1 rsync -urtlPO --delete /data/ /mnt/nas/ >> $LOG 2>&1
echo "****************************************************************" >> $LOG 2>&1 echo "****************************************************************" >> $LOG 2>&1
echo "* Finished Backup `date` *" >> $LOG 2>&1 echo "* Finished Backup `date` *" >> $LOG 2>&1