Don’t know how to restore a WordPress website from backup? No need to worry. By the end of this article, you’ll learn to restore your WordPress site from backup using a WordPress plugin and cPanel.
Backing up your website is an important step in managing a website to keep all your data safe. When you backup your data, you download the important files and keep them safe on your local computer or cloud storage such as Google Drive, Dropbox, etc.
Later, if in the future you lose the data of your live site, you can restore these saved files. So, it’s crucial that you learn how to restore the saved files of your WordPress website from backup.
However, before going into the details of restoring a website, let’s talk a bit about its importance first.
Why Backup and Restore Your WordPress Website?
Besides that, your site might also get hacked or your site’s server might crash. In all these situations, you can lose important data.
Well, if you’ve saved a backup of your site’s files and database, you can restore them in the matter of a few seconds. And, you can run your site again as if nothing happened.
But, how do you restore your WordPress website from backup? Well, there are 2 different methods to restore your WordPress website from a backup. We’ve explained both in detail below, so keep reading.
Restoring Website With the Help of Plugins
The first method on this list, perhaps the easiest, is restoring your site using a backup and restore WordPress plugin. All you need to do is install the plugin, and you can start restoring your website.
For this method, we’ll choose the UpdraftPlus plugin. UpdraftPlus is a free WordPress plugin used for backup and restore. Not to mention, it’s the highest-ranking and most popular backup and restoration plugin, with more than 3 million active installations.
So, without further delay, let’s move on to a short tutorial on how you can use this plugin to restore your WordPress website.
First of all, log in to your WordPress dashboard. Then, install and activate the plugin. Once activated, navigate to Settings >> UpdraftPlus Backups from the sidebar menu.
It takes you to the UpdraftPlus Backup/Restore page. If you haven’t backed up your website, you can do so by clicking on the Backup Now button.
If you scroll down, you’ll see the Existing Backups option. Here, you can view all the backups you’ve done till now. It’s always a wise decision to backup your site from time to time to avoid losing your data.
Back to the restoration process, you get Restore and Delete Actions for each backup listed in this section. So, go ahead and click on the Restore option on your latest backup.
When you click on the restore button, you can choose the components you want to restore. If you want a full restore of all elements, it’s better to check on all the boxes. Then, simply click on the Next button.
On the next page, you can see the Restore button. Just click on it, and UpdraftPlus will start restoring your website.
The restoration process might take a few minutes depending upon the size of your WordPress website. Once the process is finished, you can see the Restore Successful message.
And that’s how you restore a WordPress website from backup using UpdraftPlus.
If you want to use other plugins, here are some popular backup and restore plugins for you – 12 best WordPress backup plugins.
Restoring Website Manually Using cPanel
The second method you can use is to restore your WordPress website from backup using cPanel.
Before going into details of this method, we have to warn you that this method might be overwhelming, especially if you’re a beginner. But, if you think you can do it then, let’s get started.
First of all, log in to the cPanel dashboard of your hosting account. To log in, enter the URL http://your domain name/cPanel. Then, add your login credentials – username and password.
Step I: Create Database Backup Using phpMyAdmin
Once logged in to your cPanel account, it’s time to backup your site’s database. So, navigate to phpMyAdmin under the Databases section.
When you click on phpMyAdmin, it takes you to the next tab where you can see your databases. Thus, click on the Databases option located in the top menu.
Then, click on the database of your site and select the Export option from the top.
On the export page, you can see the Export Method and Format option. For now, leave the export method as Quick and format as SQL. Then, hit the Go button as shown in the image above and it’ll back up your database.
Step II: Restore Database From Backup
After backing up your database, it’s time to restore it. Simply click on your website’s database, scroll down, and then check the box next to Check All.
Once you’ve done that, click on the dropdown menu next to the Check All option. From the dropdown, select the Drop option and select Yes to confirm.
Then, select the Import option from the top menu. Click the Choose File option and select the backup file of the database you saved earlier. Now, scroll down and click on the Go option.
It might take a few minutes to complete the import process.
And with that, you’ve successfully backed up and restored your website’s database using cPanel.
Step III: Backup Your WordPress Website
We’ve restored the database, but not your website’s files yet. To do that, all you need is an FTP client. For this tutorial, we’re using a popular FTP client – Filezilla.
Open your FTP (Filezilla) and enter your login credentials and click QuickConnect.
On the left side, you can see all your local files, Similarly, on your right side, you can see your website’s files and folders. Now, in the Local site, navigate to the folder you want to backup.
Then, select all the files from the right side. Right-click and select the Download option next.
After a few minutes, your website’s files will be backed up.
Step IV: Restore Your WordPress Website
Now that you’ve backed up your website, you can restore it at any time. You just need to use the FTP to upload the files you saved.
Same as above, open your FTP account. And, from the right side select all the files and folders of your website and Delete everything.
Once done, navigate to the backup file on the left side. Next, just drag and drop the files from there to the right side.
Finally, all your website files, as well as the database, have been restored from backup.
You can also open your site and check for yourself if everything is working properly.
Wrapping It Up!
And that’s it for this article on how to restore your WordPress website from a backup using a WordPress plugin and the cPanel.
A plugin like UpdraftPlus will do all the hard work for you in case you want to restore your site’s saved files. With just a few clicks, you can backup and restore your website.
The second method is more suited for WordPress users with more technical knowledge, since you’ll have to use your web hosting’s cPanel to restore your site from backup.
Feel free to choose any method that you think you’re most comfortable with.