Bad things keep on happening on the internet. We usually lose our files and data while working on the internet, especially for WordPress based websites. This is why it is recommended to keep a backup of your WordPress website on a regular basis. There are variant methods of backing up the database and files of websites. For instance, you can backup WordPress site manually, backup it via the cPanel control panel and schedule the backups using plugins. The backup process is really simple, but how about the restore one? This time, we’d like to introduce how to restore WordPress from the backup, recovering your site back to normal.
Basic Understanding of WordPress Restoration and Backup
There are a variety of methods that can help you start the backup of your 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 website. They only create a backup of their directories and the database of WordPress. The size of the backup file is reduced this way. However, the numbers of steps are increased when it comes to the process of restoration. And also, this can increase the possibility of losing the valuable information.
In this case, when backing up your WordPress site, you’d better make the full covering. And when restore it, you can optionally restore the entire website or just those bad parts.
The 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 should 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.
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.
The next step is to download a copy of your backup file 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 firstly need to download all the files that are not backed up before deleting all files and folders from your website’s root directory.
In the next step, you should upload the backup file and the importbuddy.php file. And then, you can visit importbuddy.php in your web browser. You can see it as http://www.example.com/importbuddy.php.
At this point, you are prompted to enter the password in the browser screen that you have created during the first step. If you upload your backup file 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 the “test database settings” button. 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 the 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.
Restore WordPress using phpMyAdmin
phpMyAdmin is a software that 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 using it. However, we need to mention that phpMyAdmin can only be used to restore your database.
- First of all, login to phpMyAdmin.
- Now, click on the option of “Databases” and then choose that database in which you want to and restore by importing the backup 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 the text file box. There would be a button named as Browse next to it.
- You need to click on Browse and then locate the database backup file which is restored properly.
- You have to make sure that you select SQL from the drop down menu of Format and the NONE option for the Format-Specific Options.
- Click Go.
The process will take some time for completion. Just sit back and wait for your database to be restored.