Removed Progress from rsync - nasbackup.sh

This commit is contained in:
Matthew McKinnon 2015-10-12 09:39:31 +10:00
parent 900a9ccdfb
commit f2c0ade9cb

View File

@ -3,7 +3,7 @@
mkdir -p /var/log/nasbackup
FROMADDRESS=mmckinnon@comprofix.com
FROMADDRESS=support@comprofix.com
TOADDRESS=mmckinnon@comprofix.com
SMTP=mail.comprofix.com
BODSUBJECT="Backup Log `date +%d-%m-%Y`"
@ -17,8 +17,9 @@ echo "****************************************************************" > $LOG 2
echo "* Start Backup `date` *" >> $LOG 2>&1
echo "****************************************************************" >> $LOG 2>&1
rsync -urtlPO --delete /data/ /mnt/nas/ >> $LOG 2>&1
#rsync -urtlPO --delete /data/ /mnt/nas/ >> $LOG 2>&1
rsync -urtlO --delete /data/ /mnt/nas/ >> $LOG 2>&1
echo "****************************************************************" >> $LOG 2>&1
echo "* Finished Backup `date` *" >> $LOG 2>&1
echo "****************************************************************" >> $LOG 2>&1