Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Plesk on Amazon Web Services (AWS)
      • Plesk on Amazon Web Services (AWS)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Plesk on Amazon Web Services (AWS)
      • Plesk on Amazon Web Services (AWS)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

How to perform a general Plesk to Plesk server migration via Plesk Migrator commands?

 
backup restore migrationcpanelcpanel to pleskdomainsextensions

Question

How to perform a general Plesk to Plesk server migration via Plesk Migrator commands?

Answer

To migrate subscriptions from another Plesk server by using the commands of the Plesk migrator, you should use the steps below:

  1. Log in to Plesk

  2. Install the Plesk Migrator extension by going to Extensions and using the search bar to find and install the extension

  3. Connect to the server as root via SSH

  4. Create the /usr/local/psa/var/modules/panel-migrator/conf directory by running this command:

    # mkdir /usr/local/psa/var/modules/panel-migrator/conf

  5. Enter the newly created directory:

    # cd /usr/local/psa/var/modules/panel-migrator/conf/

  6. Create a migration configuration file config.ini in the current directory by running this command:

    # touch config.ini

  7. Open the newly created config.ini file with your favorite command-line text editor and enter the following:

    [GLOBAL]
    source-type: plesk
    sources: pfu

    [plesk]
    ip: TARGET_SERVER_IP_PLACEHOLDER
    os: unix

    [pfu]
    ip: SOURCE_SERVER_IP_PLACEHOLDER
    os: unix
    ssh-password: SOURCE_SERVER_ROOT_PASSWORD_PLACEHOLDER
    # Uncomment ssh-port string below if the SSH port is not 22
    # ssh-port: SSH_PORT_PLACEHOLDER

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

    [optional]
    postgres-password: POSTGRESQL_ADMIN_PASSWORD_PLACEHOLDER

  8. Save the changes.

  9. Generate the migration list file:

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

    Note: To remove domains that should not be migrated or assign domains to service plans, edit the newly generated /usr/local/psa/var/modules/panel-migrator/sessions/migration-session/migration-list with a text editor

  10. Start the migration:

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

  11. Once the transfer is done, run the command below to resynchronize the content:

    # /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator copy-content

    This will perform an rsync, which will ignore files which have already been copied and not modified.

    Note: See How to sync content between source and destination servers after migration? for more details.

  12. After the migration is finished, run the following command to check the status of the migrated objects on the target server:

    # /usr/local/psa/admin/sbin/modules/panel-migrator/plesk-migrator test-all

    For additional information, see Migrating via the Command Line section of the Plesk Obsidian documentation.

Additional information

Migrating via the Command Line | Plesk Obsidian documentation

Configuration Files for Plesk Migration | Plesk Obsidian documentation

Editing the Plesk Migrator Configuration File | Plesk Obsidian documentation

How to migrate from cPanel to Plesk using Plesk Migrator?

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

WebPros Announces the Promotion of Jesse Asklund to Chief Product Officer

Read More »

Hosting Control Panels of 2024 – The Definitive Guide

Read More »

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »
Knowledge Base

How to migrate from cPanel to Plesk using Plesk Migrator?

Read More »

Migration from cPanel to Plesk fails: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(674) [Receiver=3.1.1]

Read More »

How to extract files from a Plesk backup archive

Read More »

How to create hourly backups in Plesk

Read More »

Hosting Wiki

  • Server Redundancy
  • PostgreSQL
  • AMP
  • Bare Metal Server
  • Backup
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • SQL
  • Domain
  • cPanel/WHM
  • Plesk
  • Web Server
  • DNS Server
  • SSH
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family