Compatibility:

WebSite X5 Evo and Pro since version 2021.4


Do you want to move your website from the webspace offered b another Provider to the one offered by the WebSite X5 Hosting? We're happy to hear that!


 If you don't have any database on your website, you don't have to do anything special: just export the whole website again after having activated the WebSite X5 Hosting (see: How to export your website using the Hosting service included with WebSite X5).


If, on the other hand, you do use a database, for instance to manage e-mails, orders, users' registration or blog comments, you need to move the stored data from the old webspace to the new one, so not to lose any important information.


In this guide, we will explain how to proceed and, as the database management was changed with the launch of WebSite X5 2021.3, a distinction has to be made between two cases:


We will also see how the database backup & restore procedure works.


Project created or updated using a version 2021.3 or a higher one

If the project you're working on has been created or modified using a version 2021.3 or a higher one, the database tables have already been generated according to the new WebSite X5 Hosting architecture. In this case, you simply need to create a database backup copy to be restored o the new webspace:

  • Verify whether the database has been published online. You can do this by checking if the database connection parameters fields, which you find on Step 1 (v2021.3) or Step 5 (from v2021.4), are active.
  • If the database hasn't been published yet, export the whole website onto the old hosting provider.
  • Follow the database backup & restore procedure.
  • Open the project again, go to Step 5- Export, select the WebSite X5 Hosting as Webspace Provider and publish the website.


Project created or updated using a version older than 2021.3

If, on the other hand, you are using a version older than 2021.3 to work on your project, the database tables don't take on the same server architecture. Please proceed as follows:

  • Update your WebSite X5 license to version 2021.3 or to a higher one. 
  • Export your website onto the old webspace again.
  • Verify whether the database has been published online. You can do this by checking if the database connection parameters fields, which you find on Step 1 (v2021.3) or Step 5 (from v2021.4), are active.
  • Follow the database backup & restore procedure.
  • Open the project again, go to Step 5- Export, select the WebSite X5 Hosting as Webspace Provider and publish the website.


#tip -  If you don't correctly migrate the database, some tables on the new hosting could present some differences and not be the copy of the old ones. If you find yourself in this situation, please cancel the tables from the new hosting on the phpMyAdmin dashboard and repeat the procedure.


Backup & restore procedure

In both cases, as you saw, you need to create a copy of the database hosted on the old webspace and restore it on the new WebSite X5 one. Let's see how to do this:

  • Access the database management web interface you got from your old provider (possibly phpMyAdmin).
  • Select the database connected to your project.
  • Make a complete backup, or dump. Dumping a database will allow you save all the table contents on a file you can then use to restore them on another space. 
  • Now you can access the WebSite X5 Hosting  control panel: log in on the Help Center and select the Webhosting entry on the profile menu.
  • Choose the webspace you want to work on and click on Access.
  • In the Database section, click on Manage Database: here, you will find the credentials (Username and Password) you need to work on the database via phpMyAdmin: try to remember them. 
  • Go back to the control panel dashboard and, still in the Database section, click on Access to enter the phpMyAdmin using the panel of your WebSite X5 Hosting (the credentials are the ones you found in the previous point).
  • Restore the database: select your username and then access the Import section, so to import the zipped filed you got by following the dumping procedure