Backup & restore Linux Plesk 8 on domain level
March 21, 2008 – 13:45 by Hannes Van de VelBackup
Create backup
/usr/local/psa/bin/pleskbackup -vvv domains domain.be /home/root/psabackup
Move backup to another server
sftp root@newserverip put /home/root/psabackup
Restore
Create map file
/usr/local/psa/bin/pleskrestore --create-map /root/psabackup -map /root/backup.map
Edit map file
Edit /root/backup.map.
The value between []‘s should be replaced with the client name where you want to restore to. Change IP’s by adding -> new IP.
Example; [clientname]
domain.be 85.158.105.250->85.158.105.252
mysql::@localhost:3306
Restore using map file
/usr/local/psa/bin/pleskrestore --restore /root/psabackup -level domains -verbose -map /root/backup.map