This articles describes my experience with migrating server data from one Plesk instance to another using the Plesk Migrator Extension. I had followed the Plesk Migration Guide
In order to use the Plesk Migrator, certain TCP ports need to be opened on the source and destination servers. The installation of the Plesk Migrator is documented in this installation guide
Plesk supports migration from following platforms: Plesk for Linux and Plesk for Windows, Cpanel, Confixx, Helm, Plesk Expand and Parallels Pro Control Panel for Linux
Following data is transferred: service plans, subscriptions with associated domains and website content. Website content includes database, files and email. The settings of Plesk services such as Php, Firewall, Apache are not transferred.
Log in to Plesk as admin user. Then go to "Server Management"->"Extensions"->"Plesk Migrator"->"Start a New Migration". For the Panel Type option select Plesk. For the ip address, enter the ip address of the Source Plesk server. For the root login field enter root. For the Authorization field, select either "User/password" or SSH keys. If "User/password" option is selected then enter the password for the root user on the source server. If the SSH keys option was selected, then enter the path to the private key file used to login to the target Plesk server. Next click on Prepare Migration. The Plesk Migrator will attempt to fetch information about the different subscriptions and domains. Plesk will now create an entry in the migration list. The migration entry can be edited any time
Next we need to generate the migration list by running the command: /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator generate-migration-list. This will create the file migration-list in the folder /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/. The migration list is a list of objects to migrate such as customer and re-seller account, service plans, domains etc. We can edit the migration list and remove domains that should not be migrated or re-assign them between customer accounts. This is one advantage of migrating from the command line. It allows us to select which domains to migrate and also makes it easier to troubleshoot errors.
Next we need to determine which ip addresses should be used for the migrated subscriptions. The simplest method is to create a simple text file called ip-address-mappings which contains the source and target ip address on each line separated by space. We can use the --ip-mapping-file command line argument. After that we need to run the migration check using the command: /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator check. This will run a migration check. The results of the check will be saved to a file. The issues mentioned in the file should be corrected and the command should be repeated.
After that we need to run the command: /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator transfer-accounts --ip-mapping-file ip-address-mappings. This will start the migration. After the migration has completed, we can test the result of the migration with the command: /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator test-all