How to Migrate Your Prestashop Store to Cloudways From a cPanel Based HostSeptember 24, 2014

In this KB:

  • Creating a complete backup of Prestashop store via cPanel
  • Uploading backup files to Cloudways server
  • Editing database files
  • Restoring database backup to Cloudways
  • Testing newly migrated Prestashop
  • Note about accessing admin area
  • How to take site live from Cloudways


In this tutorial, we will show you how to migrate your Prestashop store to Cloudways from a cPanel based hosting provider.

Please note that these are general instructions (can vary slightly with different cPanel versions) and need some level of knowledge of the related tools to be able to complete it.

Step 1: Create a full backup of your Prestashop store via cPanel

Log into the cPanel of your old host.

To create a full backup, click on “Backups” option from the first page as shown in the figure below.  


  1.     Download web files
  • Click the button “Home Directory”.
  • To download a copy of the backup file to your computer, click the filename under Backups Available for Download.
  • The date the backup was created appears in the filename (which begins with backup-MM-DD-YYYY). The file will be stored as a tarball (compressed data file) with the extension.tar.gz.
  1.    Downloading database
  • Now you need download a database backup. Select the MySQL Databases option and a list of databases on your account will appear. Select the database (as shown in above screenshot) that you want to save and then click it to download. The backup will be saved with a .sql extension.


Step 2: Upload Web-Files Backup to Your Cloudways Server

Find your “Master Credentials” under “Server Management” page.


Here we assume that you have already launched a new server in your Cloudways account and installed a clean Prestashop application on it.

  1. Open an FTP client program of your choice. We have used “WinSCP” in this example.
  2. Under “Host Name” enter your Cloudways server IP Address.
  3. Enter port “22” under “Port number”.
  4. Enter the “Username” and “Password” that you find in the Cloudways console application tab.
  5. Click “Login” button.
  6. It will display a warning, just Click “Yes” to continue.

Now we will upload the web files backup that we have on our computer (.tar.gz file) to the Cloudways server and then you need to untar your backup file.

Step 3: Edit Database Details in Your File

Under public_html > config open the file “” by just double clicking it (from your preferred FTP client).

Now we need to replace the database connection details (database name, username, and password) with the correct ones.

Step 4: Restore Database Backup to Cloudways Server

Now, go back to your Cloudways console and under the “Application Management” page tap on button “Launch Database Manager” to proceed further.


Cloudways MySQL Manager will be launched. Now we need to restore the database. Click “import”.

Clouways MySQL Manager

As soon as you click on “Import” a new window will appear, providing you an option to choose your “Database backup file”:

  1. Click on “Browse”.
  2. After choosing your MySQL database backup file, click on “Execute”.
  3. You can also click in “checks” to track errors during the restore process.

Clouways MySQL Manager

Step 5: Test Your Newly Migrated Prestashop

Under “Application Management” page.

  1. Open “Domain Management”.
  2. Enter your “Primary Domain” as shown below.
  3. Click “Save Changes”.


Finally! We are done with your migration. Now you should test that all is fine with your site before doing the final DNS changes. You can test it locally via your host’s file.

Kindly note you will have to use your old admin credentials to access the admin area as we have overwritten the Cloudways created ones.

Once you are happy with how your site works on the new server, you can proceed to do the necessary DNS changes to take your website live from Cloudways.

One Response

  1. Stefano says:

    Please give more details about how to untar the files, in my case, the source cpanel backup app, backup the home directory and not only the /public_html directory so when i untar the archive under cloudways /public_html/ it doesn’t work as expected, also it is better to make things more simple to specify the full commandline to tar/untar the archive.
    Thanks !

Leave a Reply

Still need help? Our support team is waiting to help you. Ask them now