How to migrate from cPanel to Plesk using Plesk Migrator?

Created:

2016-11-16 12:41:54 UTC

Modified:

2017-08-18 05:08:18 UTC

6

Was this article helpful?


Have more questions?

Submit a request

How to migrate from cPanel to Plesk using Plesk Migrator?

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 12.0 for Linux

Question

How to migrate from cPanel to Plesk using Plesk Migrator?

Answer

Since Plesk 12.5, the migration from a cPanel server can be done via the Plesk interface. Please refer Migrating via the Plesk Interface section of Migration Guide.

If you do not have SSH access to the Cpanel server as root, then the migration of websites is also possible, but using a different method: Website Migration feature of the Plesk Migrator Extension.
Please check in the Website Migration documentation what objects can be migrated to Plesk in this case.

To migrate from cPanel via command line use the following step-by-step instruction:

  1. Install Plesk Migrator on the destination server via:

    • Plesk interface:

      Tools & Settings > Updates and Upgrades > Add and Remove Product Components > Plesk Migrator

    • Or command line:

      #/usr/local/psa/admin/bin/autoinstaller
  2. Create conf directory if it does not exist:

    # mkdir /usr/local/psa/var/modules/panel-migrator/conf
  3. Change the working directory:

    # cd /usr/local/psa/var/modules/panel-migrator/conf/
  4. Create configuration file config.ini in the current directory with content:

    # 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>

    NOTE: If any PostgreSQL databases from cPanel server should be migrated, make sure to specify the PostgreSQL administrator password in the config.ini file:

    [optional] postgres-password
    postgres-password:<password>
  5. Generate the migration list file:

    # /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator generate-migration-list

    It can be edited to remove domains that should not be migrated, and assign domains to service plans:

    # vi /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/migration-list
  6. Start the migration:

    # /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator transfer-accounts

For additional information check Migrating via the Command Line section of Migration Guide.

If you prefer to let Plesk professionals handle the migration or upgrade job for you please check out Plesk professional services options on our website: https://www.plesk.com/professional-services/

Have more questions? Submit a request
Please sign in to leave a comment.