/usr/local/psa/bin/psadump -F -z -f /backups –nostop –nostop-domain
rsync -a /home/httpd/vhosts/ /backups/
/usr/local/psa/admin/sbin/websrvmng -u –vhost-name=xfloyd.net
/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=
vhost.conf
vhost_ssl.conf
In conf/vhost.conf add
ServerAlias *.mydomain.com
websrvmng -u –vhost=mydomain.com
0 */6 * * * rsync -a –delete /var/lib/mysql /backups/mysql/
0 0 */7 * * rsync -a –delete /var/www/vhosts/ /backups/
0 5 * * * rsync -a /var/www/vhosts/ /backups/
Backups FULL SERVER
/usr/local/psa/bin/pleskbackup –all /var/backups/plesk_full_backup.gz
This entry was posted in PLESK. Bookmark the permalink.