This guide is intended to help with the smooth migration of WordPress websites to Cloudjiffy 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 my database have an explicit primary key, either a single or a multi-column index.
- Access your Cloudjiffy Dev Panel and create a new WordPress environment (cluster or standalone) from the Marketplace.
2. Log in to your application server via SSH and generate keypair with ssh-keygen command.
3. Output just generated public key with the command:
cat .ssh/id_rsa.pub
Then select and copy its content to the clipboard with Ctrl+Shift+С (or Сmd +C) shortcut.
After that, add public key to the WordPress environment by pasting it from the clipboard.
4. Go to the admin panel of the source WordPress website. Find, install and activate Migrate Guru plugin.
5. Go to plugin’s tab, fill out the email field, accept the terms and press Migrate Site.
6. To select the Destination Host, Click on "Other Hosts" and then click on "Manually Input Host Details".
7. Then fill out the form choosing SFTP secure file transfer protocol.
Where :
- Destination Site URL is a link to a new WordPress site (custom domain or default one provided by Cloudjiffy after environment creation).
- SFTP protocol to ensure secure migration.
- Destination Server IP/FTP Address and Port can be taken from the Host and Port fields at the Cloudjiffy dashboard SSH access section.
- SFTP Username should be taken from the respective field with automatically generated Username which is 223064-14412 in our example.
- 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.
- Directory Path is a path where the WordPress application is installed. In Cloudjiffy this is /var/www/webroot/ROOT/ directory.
Finally, scroll down and press the Migrate button.
8. After passing data validation, the migration procedure begins.
9. When the process is successfully completed, visit your website by clicking the Visit Migrated Site button.
That’s all! Enjoy the WordPress site performance and availability powered by Cloudjiffy PaaS across a wide network of service providers worldwide.