How to Migrate a WordPress Site to Jelastic PaaS

| November 27, 2019

This guide is intended to help with smooth migration of WordPress websites to Jelastic PaaS using pre-configured WordPress packages available in the marketplace. Follow the simple steps to make migration flow painless and secure.

Note: In case you are going to migrate to WordPress with Galera cluster, make sure that all tables in your database have an explicit primary key, either a single or a multi-column index. Ignoring this requirement will result in replication failure. You may get familiar with the full list of Galera Cluster limitations.

1. Access your Jelastic Dev Panel and create a new WordPress environment (cluster or standalone) from the Marketplace. Note that a clustered solution is available only for billing customers.

migrate WordPress site marketplace

2. Log in to your application server via SSH and generate keypair with ssh-keygen command.

migrate WordPress site web ssh

3. Output just generated public key with the command:

cat  .ssh/

Then select and copy its content to the clipboard with Ctrl+Shift+С (or Сmd +C) shortcut.

migrate WordPress site ssh access

After that, add public key to the WordPress environment by pasting it from the clipboard.

migrate WordPress site public key

4. Go to the admin panel of the source WordPress website. Find, install and activate Migrate Guru plugin.

migrate WordPress site plugin

5. Go to plugin’s tab, fill out the email field, accept the terms and press Migrate Site.

migrate WordPress site migrate guru

6. Choose the FTP protocol within the open page.

migrate WordPress site ftp protocol

7. Then fill out the form choosing SFTP secure file transfer protocol.

migrate WordPress site via SFTP

Where :

  • Destination Site URL is a link to a new WordPress site (custom domain or default one provided by Jelastic after environment creation). As for our example, we have a domain:
  • SFTP protocol to ensure secure migration.
  • Destination Server IP/FTP Address and Port can be taken from the Host and Port fields at the Jelastic dashboard SSH access section.

migrate WordPress site destination host

  • FTP Username should be taken from the respective field with automatically generated Username which is 70-2 in our example.

migrate WordPress site username

  • SSH Key is a private RSA key you've generated at step 2. You can select and copy it from file .ssh/id_rsa of the user’s home directory via the terminal with Ctrl+Shift+С (or Cmd + C) shortcut at the destination environment.

migrate WordPress site ssh key

  • Directory Path is a path where the WordPress application is installed. In Jelastic this is /var/www/webroot/ROOT/ directory.

Finally, scroll down and press the Migrate button.

migrate WordPress site validation

8. After passing data validation, the migration procedure begins.

migrate WordPress site process

9. When the process is successfully completed, visit your website by clicking the Visit Migrated Site button.

migrate WordPress site completed

That’s all! Enjoy your WordPress site performance and availability powered by Jelastic PaaS across a wide network of service providers worldwide. If your case requires a custom solution or you need assistance while migration, contact our support.

Related Articles

Enterprise WordPress Hosting: Automatic Scaling and High Availability
WordPress Hosting in Elastic Standalone Container
Webinar Summary: WordPress Cluster for Enterprise High Availability and On-Demand Scaling
Video Guide on WordPress Cluster Installation
Jelastic Released Enterprise WordPress Hosting Package with Auto-Scaling and High Availability