Updated Username for plesk-backup remote location
This commit is contained in:
parent
55a67177e8
commit
5ec710f8c6
@ -79,7 +79,7 @@ done
|
|||||||
|
|
||||||
echo "$(date) [MESSAGE] Copying backup files to offsite location" >> $LOGFILE
|
echo "$(date) [MESSAGE] Copying backup files to offsite location" >> $LOGFILE
|
||||||
#scp -rq -P 2222 $BACKUPDIR/* moe@home.comprofix.com:/data/backup/website
|
#scp -rq -P 2222 $BACKUPDIR/* moe@home.comprofix.com:/data/backup/website
|
||||||
rsync -avz -e "ssh -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" /BACKUP/ moe@home.comprofix.com:/data/backup/websites/ >> $LOGFILE
|
rsync -avz -e "ssh -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" /BACKUP/ administrator@home.comprofix.com:/data/backup/websites/ >> $LOGFILE
|
||||||
echo "$(date) [MESSAGE] Sending email of backup report" >> $LOGFILE
|
echo "$(date) [MESSAGE] Sending email of backup report" >> $LOGFILE
|
||||||
|
|
||||||
stoplogging
|
stoplogging
|
||||||
|
Loading…
Reference in New Issue
Block a user