Is your server loaded heavily while Plesk backup is running? You can use following script will help you backing up mail, and website contents of your plesk server, you need to execute this is your plesk server. All you need to have is password less authentication from your plesk server to backup server. Replace xx.xx.xx.xx with your backup sever IP. For database backup you may use the link.
#!/bin/bash #!Script to Backup Mail and website contents of Plesk accounts cd /var/www/vhosts for x in `ls -d * |tr -d /` do ssh xx.xx.xx.xx mkdir -p /web/backup/path/$x rsync -arzv -e /var/www/vhosts/$x/httpdocs/* firstname.lastname@example.org:/web/backup/path/$x/httpdocs/. ssh xx.xx.xx.xx mkdir -p /mail/backup/path/$x rsync -arv -e /var/qmail/mailnames/$x/* email@example.com:/mail/backup/path/$x/. done cd /var/lib/mysql for DBs in $(ls -d */ |tr -d /) do cd /mysqlbackup `mysqldump -u admin -p'password' $DBs > $DBs.sql` done `ssh firstname.lastname@example.org mkdir -p /mysql/backup/path/` rsync -avr /mysqlbackup/* ssh email@example.com:/mysql/backup/path/.
Thank you for viewing helpinlinux.com