Website Migration

You may want to migrate content from a different website that belongs to you but is hosted elsewhere into Plesk. Use the Website Migration feature to migrate certain applications, folders with files, and databases. You can migrate content from servers running both Linux and Windows, and even from servers that do not have Plesk installed.

Next in this section:

Initiating a Website Migration

Migrating Applications

Migrating Folders

Migrating Databases

 

Initiating a Website Migration

To begin migrating content from a different website, follow these steps:

  1. Go to Websites & Domains tab of the domain that will be used as the target for migrating content and click Website Importing.
  2. Specify the source website's domain name, and also FTP username and password.
  3. Click Ok.

    1

Plesk will try to connect to the source website and scan it for content. If the connection is not successful, make sure that the following requirements are met:

  • The source website's domain name resolves to the correct IP address from the destination server.
  • An FTP connection from the destination server to the server hosting the source website can be established (the FTP server on the source is operating properly, no necessary ports are filtered by the firewall on either server, and so on).
  • FTP username and password are correct. Also make sure that the FTP user has access to all files and directories present in the source webspace.

If the connection is successful, it is time to select which content to migrate.

You can migrate one or more objects of the following types:

  • Applications
  • Folders
  • Databases
 

Migrating Applications

When a website migration is initiated, Plesk scans the source website for the presence of certain applications and lists them. Presently, you can migrate the following applications to the target server:

  • WordPress
  • Joomla
  • Drupal
  • PrestaShop

Plesk can migrate an application from the source website to the target, including all its files and the database.

Caution: When migrating an application, if there is already an application installed on the target domain, its files may be overwritten. We strongly recommend backing up the target domain before migrating applications.

When migrating an application, keep in mind the following limitations:

  • The application must use a MySQL database.
  • The MySQL database server must use the default port.

There may also be additional requirements specific to the application you want to migrate. You can find them in the application's documentation:

Note: Plesk Migrator cannot automatically check if the application you want to migrate meets the requirements. Make sure that the application meets both general and application specific requirements before starting the migration.

To migrate an application, follow these steps:

  1. Select the checkbox(es) next to the application(s) you want to migrate.
  2. By default, the application files are placed in the same location relative to the document root they occupied on the source. If desired, you can change where to place the application files on the target server. To do so, click the / link under “Destination Path” and type in the path to the destination folder (relative to the document root).
  3. Click Start Import.

The installation's status will change from "Ready for import" to "Queued", and then to "In progress". Once the status changes to "Imported", the application has been migrated.

Synchronizing Migrated Applications

Any time after you have migrated an application, you can migrate it again by selecting the corresponding checkbox and clicking the Re-sync button. Note that this will overwrite any changes you may have made to the installation on the destination server.

 

Migrating Folders

You can use the Web Site Migration feature to migrate individual folders with all included files and subfolders from the source website to the destination.

To migrate a folder, follow these steps:

  1. Under "Files", click Add Folder to Import and browse to the folder you want to migrate. Optionally, you can specify the desired location for the folder on the destination server, relative to the destination website's document root directory.
  2. Click Ok.

All subfolders of that folder, as well as all files within those folders will be migrated as well.

Synchronizing Folders

Any time after you have migrated a folder, you can migrate it again by selecting the corresponding checkbox and clicking the Re-sync button. Note that this will overwrite any changes you may have made to the folder or its contents on the destination server.

 

Migrating Databases

You can use the Web Site Migration feature to migrate individual databases from the source website to the destination.

Note: At the present moment, only MySQL databases can be migrated.

To migrate a database, follow these steps:

  1. Under "Databases", click Add Database to Import.
  2. Specify the database connection information on the source server and click Ok.

Synchronizing Databases

Any time after you have migrated a database, you can migrate it again by selecting the corresponding checkbox and clicking the Re-sync button. Note that this will overwrite any changes you may have made to the database or its contents on the destination server.

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.