How To Restore WordPress Site From Backup Using cPanel?

restore wordpress site from backup

In the blogosphere, many bloggers are there with the dream in their eyes to become a successful blogger. They work hard to chase the dream. And if WordPres is the platform you are using then you should know all the things about it. No one knows about the future, what would you do if your website gets hacked?

To get ready for such situations, you should have the backup of your website and the database. But what would you do after that? In this post, I will walk you to restore WordPress site from backup so that you can use it on the right time.

Restore Website From Backup of Your WordPress Files And the Database.

You know that there are two things which build a website. The first consists all the files and folders of the WordPress and the second is the database of your website. If you have installed WordPress in the local server then you can use it the way you use it online.

There are many bloggers who have created their website on the offline server and then shifted to the online server. Do you know how to move WordPress from local server to the online server? Well, you should learn it. It would help you when you create your test website or any offline website.

The Things To Do To Restore WordPress site from Backup using cPanel.

There are some simple steps to follow.

Step 1:- First of all, you have to upload the backup of your website in the root directory of your web hosting account. If you want to add an addon domain then upload it on the subfolder. To do that login to your cPanel and open the file manager.

how to restore wordpress backup cpanel

Step 2:- Use the upload option shown in the menu bar. A new tab would open to upload the file. Choose the file from your hard drive and upload it. Wait for the upload to get finished and then return to the root directory.

restore website

Step 3:- Extract the zip file in the root directory and delete the zip file. The task to restore website from backup is done. Now is the time to restore the backup of the database.

Step 4:- Before restoring, you have to create a database and the import the database from the hard drive. It can be done using the phpMyAdmin.

After creating the database, choose the name of the database from the left menu in the phpMyAdmin and then click on the “import” option from the menu bar above.

restore website

You have successfully uploaded the backup of the website and the database on your web hosting server. Now if you are getting the database establishing error then you have to edit the wp-config.php file and check the credential of the database name, username etc.

“How To Restore WordPress backup cPanel?” This can be done from another way.

If you don’t want to use the way mentioned above then it can be done directly from the backup option just by clicking on the upload button.

You can restore website from backup from the place when you create the full website backup and the database backup. If you’re not running multiple websites on your web host then it would be the best place for you.

Step 1:- Go to the “files” section and click on the “Backups” option. A new tab would open for you.

Step 2:- Scroll down and you would see the options to upload the backup of the root directory and the database. Just choose the options and restore WordPress site from backup.

restore wordpress site from backup

If you have created an email with your domain name then you can upload the email forwarders if any.

You can choose any of the ways according to your need. But if you want to upload the backup for an addon domain then you have to extract the zip file of the backup in the subfolder of that addon domain. Don’t extract in the root directory.

You have successfully restored the website from the backup. If you’re getting the login page refresh problem then you should solve it. The 500 error can also be solved. Just make sure that you match the database name, username, hostname in the wp-config.php file.

Can You Restore Website From backup now?

After going through the steps mentioned above. Can you do that your own? Can you restore the backup of the website and database using the cPanel? Though it’s an easy task but if you don’t have any idea about it then it would be quite tough for you.

Just follow the guide provided above and you would be able to restore your website within few minutes. The upload time is dependent upon the speed of your internet connection and the size of the backup. So don’t worry about it. You have to wait till the upload get finished.

If you still face any problem then I am here to help you.

You can also connect with us on Twitter, LinkedIn, and Facebook.

by Ravi Chahar

A WordPress Professional and the LinkedIn Influencer. A coder by passion and a blogger by choice. WordPress theme development is his forte. He is your WordPress guy who will teach you how to solve WordPress errors, WordPress security issues, design issues and what not.

Get Free Updates Into Your Inbox

Learn Everything Just Like I Did



  1. Where were you last year when I moved my hosting services from one hosting company to another 🙂 ? I wish I would have had this information then! It would have made things much easier.

    I did the best I could but I still needed the hosting service to migrate my databases. I didn’t want to lose any data!

    I am going to bookmark this and save if for future use. Thank you so much for sharing your knowledge.


    1. Hey Deborah,

      There are many bloggers like you in the blogosphere who are struggling to understand these technical things. Though there is nothing hard, you can restore your website from the backup within few minutes.

      Most of the bloggers failed to migrate the database and to establish the connection. It can be done using the phpMyAdmin or the direct upload option shown above.
      Thanks for stopping by.
      Have a great weekend.

  2. Great post Ravi.

    Losing our post and images is a nightmare for all bloggers. Thanks for showing us how we can get our stuff back.

    No need to push the panic button – I filed this in Pocket just in case I will ever need it. 🙂

    Thanks for putting this together. Passing this along. Have a great Friday and weekend.


    1. Hey Cori,

      I am glad that you liked this post.:)

      It’s such a pain when we lose all the articles. It is always recommended to have the backup on your computer. But what after that? So just thought to provide the further step so that people can restore their backup to live their website.

      There is always a chance to come back in the action. You can set up your website again by restoring the backup.
      Thanks for sharing your words.
      Have an awesome day.

Leave a Reply

Your email address will not be published. Required fields are marked *