This guide outlines how to migrate your hosting environment from cPanel to Plesk using the Plesk Migrator tool, covering two available methods.
Let us discover the two methods:
- Using the Plesk panel: This is the simplest and easiest method.
- Log in to Plesk.
- Click on the “Extension” option on the left-hand side of the screen.

- Install the “Plesk Migrator” extension. Head to the “Extensions” section, locate “Plesk Migrator” under “Server Tools,” and click “Install” to begin the setup.

- Once installed, navigate to “Extensions > My Extensions > Go to Extension” and follow Plesk Migrator.
- Click “Start a New Migration” to initiate the process.
- Select cPanel as the source. Enter the actual IP address of the source server, define the SSH port (22 by default), and input the root user’s login credentials.
- Click “Prepare Migration” and continue following the instructions outlined in the Plesk Migration Guide.

- Using the Command Line (CLI through SSH)
To perform the migration through the terminal, follow these steps:- Log in to Plesk.
- Install the Plesk Migrator extension following the steps outlined earlier.
- Access the Server through SSH.
- Generate the “conf” directory if it hasn’t been created yet by running the following command to confirm the necessary path exists:
mkdir /usr/local/psa/var/modules/panel-migrator/conf
- Modify the current directory:
cd /usr/local/psa/var/modules/panel-migrator/conf/
- Create a “config.ini” file in the present folder and populate it with the following details:
# cat /usr/local/psa/var/modules/panel-migrator/conf/config.ini [GLOBAL] source-type: cpanel source-servers: cpanel target-type: plesk [plesk] ip: <destination_server_IP_address> os: unix [cpanel] ip: <source_server_IP_address> os: unix ssh-password: <source_server_root_password> # Uncomment ssh-port string below if the SSH port is not 22 # ssh-port: <custom_ssh_port_if_not_22>
Important: If your cPanel server includes any PostgreSQL databases, be sure to include the PostgreSQL admin password in the “config.ini” file as shown below:
[optional] postgres-password: <password>
- Create a list of accounts to migrate using the subsequent command:
/usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator generate-migration-list
This list can be edited to eliminate specific domains or give them to service plans:
vi /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/migration-list
- Initiate the Migration to start transferring accounts from the source server using the following command:
/usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator transfer-accounts
- Resync data to confirm all recent changes are copied:
/usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator copy-content
This uses rsync and skips files that are unchanged.
- Finally, verify that all migrated data and services are working correctly using the following command:
/usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator test-all
In such a manner, you can migrate from cPanel to Plesk using Plesk Migrator. Hope you liked our article; however, if you require additional assistance, feel free to contact our support specialists.
Managing databases after migration? Learn How to Download a Database Dump in Plesk