How to Transfer your WordPress website to a new host via cPanel Backup Wizard
Whether your current web hosting provider doesn’t fulfill all your needs or you simply want to change your web hosting account, you should have strong knowledge about the WordPress website transfer process.
When talking about migrating a website, it’s important to note that a website consists of its data and database. So, to migrate a website to your new web hosting account, you need to migrate both the things.
Different WordPress website transfer methods are available from which you can use any as per your understanding and expertise. But in this article, I am going to share with you the easiest way in which you don’t have to deal with the core WordPress files.
At one time in the past, there were not so many methods available to back up and restore a website and its database as we have today.
Throughout this tutorial, you’ll be using Backup Wizard and the backup and restore option by cPanel. If you use a nice web hosting, then there are high chances of finding such options easily.
Like many people, you might be thinking about using a backup plugin to back up your WordPress site. Yes, you can do this, but sometimes when you cannot access the admin panel, you end up using cPanel.
I am writing this tutorial because I figured out that many people don’t know which method to use and how to use it. If you want a seamless and error-free restoration of your site, then it’s better to use cPanel instead of any plugin.
Let’s get started now!
1. Backup your website and its database
When you start searching over the internet, you’ll find hundreds of articles that cover how to back up a website and its database manually. In this article, I am going to share with you the simplest method of doing back up which even helps non-technical users.
Sign in to your cPanel account and locate the Files section. From a group of icons, click Backup.
On the next screen, you’ll be provided with an option to download or generate a full website backup consisting of the home directory, MySQL databases, FTP and email accounts, etc.
But if you go down on the screen, there will be an option to create Partial Backups. To download the Database Backup and Home Directory Backup one by one, you can use the link or button.
These backup files can be stored on your device storage, depending on the speed of your internet connection.
After following these steps, you have nicely managed to have a backup of your site and its database, without experiencing any technical fault.
Now, the next thing is to learn how to restore these site files.
2. Restore the backup files
Similar to the previous step, you need to click on the Backup icon under the Files section, and the same page will appear.
If you scroll down, you’ll find some restore options for the partial backup you have performed earlier.
On clicking the Choose File button for each option, you can select the backup files from your computer and begin uploading them.
You can also get to see the files uploading based on the speed of your internet connection and the size of the backup files.
Wait patiently until the upload process gets completed successfully and then, click on Go Back.
If you follow these steps, you can successfully restore your backup files, but wait, there is still something needs to be done.
You need to create a new database and set its credentials to the restored site’s data.
While you transfer the web hosting server of your website from one to another, you have to match the DB credentials. And if you skip this, you will start getting the “Error Establishing a Database Connection.”
I believe that you know how to make changes in the wp-config.php file, acquire the database details, and change the old data with the newly created database.
Save the changes made, and after adjusting the DNS settings, your website will start running on your new server.
3. Backup and Restore your website using cPanel Backup Wizard
As the title suggests, we’ll cover the steps required to back up and restore the website and its database using cPanel Backup Wizard. The above-mentioned method is quite similar to the Backup Wizard.
Let me walk you through this:
To use the cPanel Backup Wizard, click on the Backup Wizard link under the Files section of cPanel Home. Once you have entered your Backup Wizard, you will find two options: Backup and Restore. Firstly, you need to have a backup of your site.
To download a backup of your site, click on the Back up button. On clicking this button, you’ll see two options: Full Backup and Select Partial Backup. You can choose any of these options just like you did earlier.
I would go for the partial backups to download the files.
Important: Full Backup option should not be chosen as you cannot restore it with the cPanel interface.
Now, this can be considered as the final step. Click on the Home Directory button in blue color, and you can see the file download gets started in your browser.
Do this process again to download the MySQL database backup.
By following these steps, you can manage to download the backup file. Now, the next step is to restore it.
Go back to the first step and open the Backup Wizard. Now, instead of choosing backup, go for the Restore option.
At this time, you may get confused on seeing no option to restore the full backup. Therefore, you got the partial backup files. Select the option to upload the home directory file and then, repeat the same process for the database backup.
You can see the files uploading based on the size of the backup files. When you finish the uploading, you have to create a new database and set its credentials to the restored site.
Like the first method, you need to make changes in the wp-config.php file.
Wait for a twenty-four-hour period once you point the DNS to your new web hosting server, and you’ll see your site going live.
At this point, you have learned two different yet much the same methods to transfer your WordPress website from one host to the other.
4. Believing you can now transfer your WordPress website easily
It might be difficult for the non-technical users to transfer the website to a new host, but cPanel has made this process easy like never before. With cPanel, you can quickly understand the entire backup and restore process.
More than half of the WordPress users don’t like doing this on their own. They might get it done by hiring a WordPress pro or give money to their new web hosting company.
After reading this article, you can see that WordPress website transfer isn’t that hard as it seems. With the cPanel Backup Wizard, you can easily move the website and its database.
5. Wrapping it up
Now, the question arises that is it possible to shift a site to a new server when multiple sites are hosting on the same server. It should be understood that when you back up the home directory, it contains every folder and file consisting of all of your sites, so it is a bit difficult to keep them apart.
I advise you to back up the site manually and database using phpMyAdmin. Please note that the above-mentioned ways are for only a single website.