Сannot set IP mapping on per-IP basis in Plesk Migrator


2016-12-18 06:41:21 UTC


2017-08-08 13:22:27 UTC


Was this article helpful?

Have more questions?

Submit a request

Сannot set IP mapping on per-IP basis in Plesk Migrator

Applicable to:

  • Plesk Onyx for Linux


Unable to select an IP for IP mapping during migration through Plesk GUI, when some number of websites are tied up to one common IP address: IP mapping is possible but can only be customized for each domain individually.


Starting from Plesk Migrator version 2.0, the IP mapping in not available through Plesk GUI interface. This is Plesk Migrator bug with id #PMT-3156 , that is planned to be fixed in future product updates.


As a workaround, perform the migration through command line using the steps below.

  1. Create and configure the config.ini file required for migration with the following settings:

    source-type = "plesk"
    sources = "source"

    ip = "destination_server_ip_address"
    os = "unix"

    ip = "source_server_ip_address"
    session-dir = "/tmp"
    os = "unix"
    ssh-username = "root"
    ssh-auth-type = "password"
    ssh-port = "22"
    ssh-password = "password_in_plain_text"
  2. Generate migration list using the previously created config.ini :

    # /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator generate-migration-list /usr/local/psa/var/modules/panel-migrator/sessions/config.ini.
  3. Make sure migration list was generated and located in /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/migration-list directory.

  4. Create file named ip-mapping in the session directory and specify the IP->IP configuration. Separate the source and destination IP addressess by Tab , for example:
  5. Run Plesk Migrator via CLI:

    # /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator transfer-accounts /usr/local/psa/var/modules/panel-migrator/sessions/config.ini 
    --migration-list-file /path/to/migration/list/migration-list
    --ip-mapping-file /path/to/migration/listmapping/ip-mapping

NOTE: All paths to required files can be different but when running Plesk Migrator, it is important to specify full path to the file location.

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