How to migrate huge Plesk server using backup manager on Linux?
It is recommended to migrate via Plesk Backup Manager . If backup of the source server is extremely big (more than 10GB in size), restoration might fail because of exceeded timeout or memory.
It is recommended to migrate domains and clients/resellers one by one.
For example: migrate big domains that belong to a reseller:
- Dump the domains and reseller configuration on the source server one by one:
~# /usr/local/psa/bin/pleskbackup domains-name example.com --output-file=/tmp/backups/
~# /usr/local/psa/bin/pleskbackup resellers-name reseller --configuration --output-file=/tmp/backups/
Note: If no domains/resellers provided,
pleskbackup backs up all resellers on the host.
Move the created archives to the destination server using SCP:
# scp -P 22 -c blowfish /tmp/backups/backup_* firstname.lastname@example.org:/tmp/backups/
Restore all objects one by one with
Create a map file:
~# /usr/local/psa/bin/pleskrestore --create-map <path to backup file> -map <path to mapping file>
213403149 Correct the map file .
Restore the domains and reseller from the backups:
~# /usr/local/psa/bin/pleskrestore --restore <path_to_backup_file> -level domain -map <path to mapping file>
~# /usr/local/psa/bin/pleskrestore --restore <path_to_backup_file> -level resellers -map <path to mapping file>
Note : after restoration the domains will be assigned admin user on the destination server. Please consider changing domains owner using " Change Subscriber " on the destination host.
Refer to Installation, Upgrade, Migration, and Transfer Guide for more detail about the migration procedure.