- Plesk for Linux
What action should be done to avoid errors during migration?
All Plesk components that are used on the source server should be installed on the destination server as well. For example, if the source server has PostgreSQL or Mailman, these packages must be installed on the destination host as well. Otherwise, the corresponding data will not be transferred.
Plesk license on the destination server must meet all requirements that exist on the source server.
Check if free disk space on the source server is enough to dump the data. All databases are transferred as dumps, so there must be enough free disk space on the source server to store dumps of the 5 biggest databases within the temporary directory (by default it is
- Configure IP addresses. Ideally, there should be a shared IP address on the destination server for every shared IP address on the source server. The same goes for dedicated IP addresses. During migration via GUI, Plesk performs IP address mapping automatically.
The destination server must contain free disk space at least twice the size of the data being migrated. The extra space is needed to store the dump on the destination server and extract data from it.
Make sure the default MySQL character set is
latin1. This encoding is used by MySQL by default. However, if it was redefined in
/etc/my.cnf, it is better to switch it back to avoid the problems with database restoration.
Current default characters that are set can be found with the following command:
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin -e 'status' | grep characterset
Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1
Increase or define the
max_allowed_packetvalue for MySQL server in
/etc/my.cnfto prevent the issues during the database migration:
max_allowed_packet = 64M
For more details, refer to the following guide:
213912645 Plesk migration and transfer guide