The Plesk Migrator configuration file contains information about the source and the destination servers, such as the OS type (Linux or Windows), the type of control panel installed on the server, access information, and more. A sample configuration file can be found here. This topic describes how to configure a number of commonly used parameters to ensure that the migration is successful.
Specifying the hosting description file name and format
The information about the hosting description file must be placed in the
[GLOBAL] section of the configuration file. To specify the name of the file (if the file is not in the current working directory, specify an absolute path), use the following option:
The hosting description file can be provided in YAML or JSON format. To specify the file format, use the following option:
Specifying the access information for source and destination servers
To import web and mail content data to the destination server, you need to either specify the administrative user credentials for both the source and the destination servers, or to move the content to the destination server manually and provide the path to the data in the hosting configuration file. In the latter case, only access information for the destination server is required.
Specifying the access information for database servers
To import database content data to the destination server, you need to either specify the access credentials for the database server or servers, or move database dumps to the destination server manually and provide the path to them in the hosting configuration file. If you choose the former option, specify the access information for every database server you need to migrate databases from, as follows:
Microsoft SQL Server
Note: If the hostname of the server on which the Microsoft SQL Server databases are stored does not resolve on the destination server, database migration will fail. Make sure that the hostname can be resolved correctly, or add a corresponding entry to the
hosts file on the destination server.
Include all database servers you listed in the
[GLOBAL] section of the configuration file, like this:
Specifying more than a single source for migration
Plesk Migrator can migrate content from multiple sources in one sitting. To specify more than one source, use the sources parameter in the [GLOBAL] section of the configuration file, like this: