Beginner’s GuideBlog

Saviour’s Guide: How to Restore WordPress from Backup

Do you have to restore WordPress from a backup file? Backups enable you to restore your web site in case one thing goes mistaken. Nevertheless, restoring WordPress from a backup file just isn’t simple for saviour. On this article, we’ll present you easy methods to simply restore WordPress from backup step-by-step.

How to Restore WordPress from Backup

Since it is a prolonged article, we’ve got added desk of contents for simpler navigation.

  • Understanding backups and restoring WordPress
  • Restoring WordPress utilizing BackupBuddy backup file
  • Restoring WordPress utilizing UpdraftPlus Backup
  • Restoring WordPress database backup utilizing phpMyAdmin
  • Restoring WordPress database backup utilizing cPanel
  • Manually restoring WordPress information utilizing FTP
  • Troubleshooting backup restore points
  • Issues to do after restoring your WordPress web site

Observe: This information is about restoring a WordPress web site from backup. If you’re making an attempt to maneuver your web site to a brand new area, then you need to take a look at our information on shifting WordPress to a brand new area with out shedding search engine optimization.

If you’re making an attempt to maneuver from localhost to a dwell internet hosting account, then observe this information on easy methods to transfer WordPress from native server to dwell web site.

Understanding Backups and Restoring WordPress

There are other ways to create backups on your WordPress web site. One of the simplest ways to create a backup is through the use of a WordPress backup plugin.

Alternately, you may as well create handbook backup of your WordPress database and obtain your WordPress information utilizing FTP.

Restoring WordPress from backups relies upon solely on the way you created the backup. For instance, backups created utilizing BackupBuddy or UpdraftPlus will be restored through the use of the identical plugin. Equally, handbook backups should be manually restored.

Lots of WordPress customers don’t backup their total web sites. As an alternative, they solely backup their theme, uploads listing, and their WordPress database. This reduces their backup dimension, however will increase the steps wanted to revive the location.

Regardless of the way you created your backup, the essential steps are the identical.

Let’s check out easy methods to restore your WordPress web site from backup. Since we’re protecting completely different restore strategies, please skip to the part that applies to you.

Restoring WordPress from BackupBuddy Backup File

BackupBuddy is a well-liked premium WordPress backup plugin. For those who used BackupBuddy to create backups, then this part is for you.

BackupBuddy gives a really handy method to restore WordPress from a backup. You could login to your WordPress web site and go to BackupBuddy » Restore/Migrate web page.

You’ll need to obtain a duplicate of importbuddy.php file. Within the course of, you may be requested to supply a password for importbuddy. This password will likely be used once you restore your web site.

Download importbuddy

Subsequent, you have to obtain a duplicate of your backup should you haven’t already carried out so. You may obtain it from BackupBuddy » Backups or the vacation spot that you simply used to retailer your backups.

Upon getting the backup zip file and importbuddy.php saved in your laptop, hook up with your web site utilizing FTP.

In case you have an entire backup of your web site, then delete all information and folders out of your server.

Nevertheless, you probably have a partial backup, then you have to first obtain the information that you simply haven’t backed up. As soon as you’re positive that you’ve got every thing backed up, proceed deleting all information and folders out of your web site’s root listing.

Delete old WordPress files

Subsequent you have to add your BackupBuddy backup and importbuddy.php information to your web site’s root folder.

As soon as each information are uploaded to the server, go to importbuddy.php in your internet browser. It’s in your web site’s root listing, so its URL will likely be one thing like:

ImportBuddy will now ask for the password that you simply created once you downloaded ImportBuddy.

importbuddy password

On the following display screen, ImportBuddy will show the backup file you uploaded. In case you didn’t add your backup file utilizing FTP, then you possibly can click on on the add tab to add the backup file now. In case you have your backups saved on iTheme’s Stash storage service, then you possibly can hook up with it by clicking on stash tab now. Upon getting chosen your database, click on on Subsequent Step to proceed.

Select your backup file

ImportBuddy will unzip your backup file and present you successful message when it has extracted the information. Click on on the following step button to proceed.

On the following display screen, ImportBuddy will ask you to supply web site URL and database data.

If you’re restoring a hacked WordPress website or making an attempt to take away malware, then you don’t want to make use of your previous database.

You may both drop tables out of your previous database utilizing phpMyAdmin, or create a brand new database utilizing cPanel. As soon as you’re carried out creating a brand new database or emptying the previous one, present your database particulars.

However, if you’re positive your web site wasn’t hacked, then you should use the identical previous database particulars.

database settings

Click on on the following button to proceed and importbuddy will now take a look at your database settings and import your knowledge. As soon as it’s carried out, click on subsequent step to proceed.

Now ImportBuddy will replace your web site URLs, paths, and so on. After that, you may be requested to check your web site. If every thing is working superb, then you could have efficiently restored your web site.

Review and cleanup

On the importbuddy web page, click on ‘Clear up and take away short-term information’ button. This may delete short-term knowledge in database and information created throughout restoration.

Restoring WordPress utilizing UpdraftPlus Backup

UpdraftPlus is one other well-liked WordPress backup plugin. It lets you simply backup and restore your WordPress web site.

First you have to just remember to have an entire backup of your WordPress web site created by UpdraftPlus. Subsequent, you have to obtain the backup information to your laptop.

In case your backups are saved by UpdraftPlus on a distant storage location like Dropbox, Google Drive, and so on, then you possibly can obtain your backup information from these areas to your laptop.

Subsequent, you have to hook up with an FTP shopper and delete all WordPress information. After that you have to set up WordPress once more and login to your web site.

You’ll need to put in and activate the UpdraftPlus plugin. Upon activation, go to Settings » UpdraftPlus Backups web page and click on on the Restore button.

Upload your backup files

Subsequent, you have to click on on the ‘Add backup information’ hyperlink after which uplaod the backup information you downloaded earlier.

Uploading backup files

As soon as your backup information are uploaded, UpdraftPlus will scan these information and can present them on the backups web page.

You’ll need to click on on the ‘Restore’ button to proceed.

Restore backup files

This may convey up a popup the place you have to click on on the restore button once more to proceed. Be sure that all obtainable backup information equivalent to plugins, database, themes and others are chosen.

Restoring backup files

UpdraftPlus will now begin extracting and restoring knowledge from these information. Upon success, you may be redirected to the success web page.

Backup restored

That’s all, you could have efficiently restored your WordPress web site from an UpdraftPlus backup.

Restoring WordPress Database from Backup utilizing phpMyAdmin

When restoring a manually created backup, you might come throughout two alternatives. You may both create a brand new database and import your backup into it, or you possibly can empty your current database and import backup.

If you’re cleansing a hacked WordPress web site, then it is rather essential to vary your MySQL username and password earlier than creating a brand new database or importing into current database.

To create a brand new database, login to the cPanel dashboard of your WordPress hosting account and click on on the MySQL Databases icon.

MySQL Databases in Cpanel

Subsequent, you may be requested to supply a reputation on your database after which click on on the ‘Create Database’ button.

Create new database

After creating the brand new database, you want a MySQL consumer related to that new database. Scroll all the way down to the MySQL customers part and add a brand new consumer.

Add new database user

Subsequent, you have to add this consumer to the MySQL database. Scroll all the way down to ‘Add consumer to database’ part and choose the consumer together with the database from the drop down menus after which click on on the add button.

Add user to db

Now your new database is prepared. You need to use it to revive your WordPress database backup.

Head over to the cPanel dashboard once more after which click on on the phpMyAdmin icon.

Launch phpMyAdmin

Subsequent, you have to click on in your new database identify after which click on on the import button.

Importing your database

Click on on ‘select file’ button to pick out your WordPress database backup file after which click on on the go button on the backside of the web page to proceed.

PhpMyAdmin will now add your backup and import it into your database.

You will notice successful message upon completion.

That’s all. You’ve got efficiently imported your WordPress database. Now the following step is to put in WordPress utilizing your new database. In case you have already put in WordPress, then add your new database settings into your wp-config.php file, and you may be good to go.

Restoring WordPress Database Backup utilizing cPanel

For those who manually created a WordPress database backup utilizing the cPanel in your shared internet hosting, then you may as well restore that database utilizing cPanel.

Log into your cPanel account and beneath the information part click on on Backup.

Backup in cPanel

On the backups web page, scroll all the way down to ‘Restore a MySQL database backup’.

Subsequent, click on on the select file button and choose the backup file out of your exhausting disk. As soon as carried out, click on on the add button.

Restore database using cPanel

Manually Restoring WordPress Recordsdata utilizing FTP

If you’re restoring WordPress to scrub up a hacked web site, then you definitely first must delete all current WordPress information and directories.

Solely do that in case your backup is upto date, and you’ve got every thing custom-made, modified, or uploaded in your web site.

In case you have all of your uploads and customizations, then you possibly can safely delete every thing in your web site utilizing cpanel (manner quicker) or utilizing FTP.

To delete all information out of your web site, login to the cPanel of your internet hosting / VPS internet hosting and beneath information part click on on the file supervisor icon.

File manager in cPanel

Go forward and select Internet root as your listing and proceed. File supervisor interface will now open in a brand new browser tab. You’ll need to pick out all WordPress information and delete them. This manner is far quicker.

It’s also possible to delete information utilizing FTP, but it surely’s slower. Merely hook up with your web site utilizing an FTP shopper and choose all information in your WordPress root listing to delete them.

Delete old WordPress files

Subsequent, you have to obtain a recent copy of WordPress from and extract it to your exhausting disk.

Launch your FTP shopper after which add all WordPress information to your server.

Upload WordPress files

Upon getting uploaded WordPress information, you possibly can add wp-config.php file out of your backup (solely if you’re positive that it’s clear and never compromised).

Alternately, you possibly can rename wp-config-sample.php file in your freshly uploaded WordPress information to wp-config.php file. After that you will want to edit wp-config.php file and enter your database data.

Don’t overlook to save lots of the file and add it again to your web site.

Subsequent, you have to add different information out of your backup. We’ll advocate that you simply solely add your photos in /wp-content/uploads/ listing.

Upon getting uploaded these, go to your web site to examine that every thing is working superb.

Subsequent, you have to login to your WordPress admin space and begin putting in plugins you had in your web site.

Now you possibly can transfer on to put in your theme. For those who had custom-made your WordPress theme or had been utilizing a baby theme, then you possibly can restore it from backup. Nevertheless, guarantee that these information are clear.

Lastly, go to Settings » Permalinks and modify permalinks settings to match your web site after which replace permalinks.

Troubleshooting WordPress Backup Restore Points

There are some frequent issues that you could be come throughout when restoring your WordPress web site. We’ve got separate guides for every of them.

  • Error establishing a database connection
  • White Display screen of Loss of life
  • Inside Server Error
  • Login Web page Redirect or Refresh problem
  • Single Posts returning 404 Error

Issues to do After Restoring your WordPress Website

Upon getting efficiently restored your web site, we strongly advocate that you simply enhance your web site safety.

For those who haven’t carried out so already, please just remember to have a daily WordPress backup with one in all these WordPress backup plugins.

For securing your web site, we’ll advocate that you simply instantly change your WordPress password. If you’re working a multi-user web site, then ask all customers to replace their passwords instantly.

It’s also possible to set up a web site firewall. At WPSaviour, we use Sucuri to observe and strengthen safety of our web site. It displays for safety threats, and so they additionally supply malware removing service with their subscription plans. See how Sucuri helped us block 450,000 assaults in three months.

We hope this text helped you discover ways to restore WordPress from backup. You may additionally need to see our final step-by-step WordPress safety information for saviour.

Download The WPSaviour App Now

Related posts

BackupBuddy Review 2019: Is It the Best Premium Backup Plugin

Best WordPress PluginsBlog

3 Best WordPress Backup Plugins For Automated Backup in 2019

Best WordPress PluginsBlog

The Ultimate BlogVault Plugin Guide To Automated Backup Of WordPress


How to Move WordPress From Local Server to Live Site (2 Methods)

Leave a Reply

Your email address will not be published.

Pay in your preferred currency
Indian rupee