PHPMatters Help You Better Hosting Your PHP-based Sites
How to Restore WordPress from Backup - Recover Your Site Back to Normal

How to Restore WordPress from Backup – Recover Your Site Back to Normal

Bad things keep on happening on the internet. We usually lose our files and data while working on the internet. This is why it is recommended to keep a backup of your websites. There are variant methods of backing up the database of websites. This is a simple guide that would help you do this step by step and you would be able to restore WordPress from backup.

Basic Understanding of WordPress Restoration and Backup

There are a variety of methods which can help you in backing up WordPress sites. You can use backup plugins for creating database backups or the full website backups. In addition, you can also create some manual backups. The process of restoring WordPress totally depends on the way you’ve created them. There are many WordPress users who do not create a backup of their entire websites; rather they only create a backup of their directories and database of WordPress and themes. The size of the backup is reduced this way; however, the numbers of steps are increased when it comes to the process of restoration.

Basic Preparations

basic stepsThe steps for restoring WordPress are similar no matter how you create a backup.

  • First of all, you must clean up the WordPress files. You can do this by deleting everything added in your website from the web server with the help of FTP client.
  • In the next step, you would restore the database by installing a fresh copy of WordPress along with all those plugins that you have. You can now restore the images and themes.

Restore WordPress using BackupBuddy

Here are the steps you need to follow with BackupBuddy. Before that, you firstly need to install the BackupBuddy plugin to your WordPress website. If you have no idea how to install a WordPress plugin, check this page for reference.

Log into your WordPress website and go to BackupBuddy from the Settings > BackupBuddy and find the Restore/Migrate in BackupBuddy part. Then, download a copy of importbuddy.php. You need to provide a password at this point. Remember the password as you will need it to restore your website latter.

use BackupBuddy

The next step is to download a copy of your backup from BackupBuddy > Backups. Then, connect to your website using FTP and delete all files and folders from your server only if you have a complete backup. If you have only a partial backup, you will first need to download all the files that are not backed up before deleting all files and folders from your website’s root directory. Don’t forget to upload the BackupBuddy backup and the importbuddy.php files, and visit importbuddy.php in your web browser. You can see it as

At this point, you are prompted to enter the password that you have created during the first step. If you upload your backup files using FTP, you can see a display of the backup file. If you have not done this earlier, you can upload the backup file now by clicking on the Upload tab. The rest steps are listed as following.

  • ImportBuddy simply starts unzipping the backup file. You can see a success message when the files are all extracted.
  • Click “test database settings”. Continue on to the next step after you’ve got a message saying “overall result success”.
  • Click the Next button and provide the requested site URL and database information.
  • ImportBuddy can start importing your database, and after that is done, it can update your site URLs paths.
  • Upon completion, you are prompted to test your site. If everything is working fine, then you have successfully restored your website.
  • The last thing you need to do is to delete the temporary data and files created while restoring by clicking the “cleanup and remove” button on the importbuddy page.

clean up button

Restore WordPress using phpMyAdmin

phpMyAdmin is a software which is utilized for manipulating the databases using the web interface. It is usually included in a good package of web hosting. Here is a simple process to restore WordPress.

  • First of all, login to phpMyAdmin.
  • Now, click on the option of “Databases” and then choose that database in which you want to import your data.
  • A list of tables would be displayed in front of you inside the database. Alternatively, you could also see a screen which says that no table exists. These results totally depend on the setup.
  • You can see a row of tabs on the top of the screen. Now, click on the Import tab.
  • The next screen can show the location of text file box. There would be a button named as Browse next to it.
  • You need to click on Browse and then locate the backup file which is restored in your system.
  • You have to make sure that you select SQL from the drop down menu of Format.
  • Click Go.

The process will take some time for completion. Just sit back and wait for your files to be restored.

import database


These are simple and easy steps which would help you in restoring the WordPress from backup. However, if you are looking for an automatic backup service offered by web host, we’d like to recommend BlueHost, InMotion Hosting and Arvixe that are the top WordPress web hosts including the backup service into their packages with the best quality.