Question
What should be done to avoid errors during Plesk server migration?
Answer
-
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 server. Otherwise, the corresponding data will not be transferred.
-
Make sure Plesk license on the destination server provides the same or broader feature set that the license of the source server does. Featured of different Plesk Editions are listed here. Contact Plesk Sales Team if license upgrade is required.
-
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
/tmp/panel_migrator
). - 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.
- Specify default MySQL character set
latin1
in
:
/etc/my.cnf[mysql]
default-character-set=latin1To get current default characters:
# 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 -
Define the
max_allowed_packet
value for MySQL server in
to prevent issues during the database migration:
/etc/my.cnf
[mysqld]
max_allowed_packet = 64M
…