SharedTutor | Tutorials For Everyone

Find your interesting tutorials in Get your tutorial about Computer, Blogging, Makemoneyonline, Games, Design, and more!

How To Backup & Restore Your WordPress Site Easily With UpdraftPlus

How To Backup & Restore Your WordPress Site Easily With UpdraftPlus

Being a WordPress site owner myself I’ve seen servers fail and loss of data on several occasion. Hardware fails, and hackers will try to compromise your internet site. With that in mind it’s essential to have a thoroughly tested backup routine, to help you restore your web site should the worst happen.

You spend time and effort tweaking, changing, and managing your web site. So imagine how awful it would be to lose all the hard work from something that is completely out of your respective control.

We’ve previously shown you a number of the really useful plugins which you can use to migrate your WordPress site, but it’s also important to backup often, not merely when you mean to migrate it. On my websites I run daily backups to your NAS drive via FTP, and also to do this I use a WordPress plugin called UpdraftPlus.

Backup WordPress With UpdraftPlus

You can readily install UpdraftPlus from the WordPress plugins page. Click around the add new button then hunt for UpdraftPlus. Once installed, go through the settings menu and select UpdraftPlus Backups through the sub-menu to configure your backup routine.


UpdraftPlus is loaded with features that lots of other free backup plugins for WordPress simply lack, including:

  • Automatic backups on a regular basis - anything from monthly as well as every 4 hours.

  • Backup both your database and WordPress files.

  • Stores backups locally on the web server, or on remote/cloud storage including Dropbox, Google Drive, Amazon S3, FTP, and more.

  • Automatically overwrite old backups to store free space on your drives.

  • Optional email alerts on finishing your backups.

  • Accessible log files of all backups, that's great for troubleshooting issues.


Test Your Backups

What’s the point in having a backup system if you don’t discover how to restore at their store? That’s for you to not only run backups, but also test them to successfully can recover your website should you ever need to.

Testing your backups is very simple. All you should do is develop a second WordPress site on your own web server (or even a local WordPress instance), so that you could have something like which would need to possess a vanilla installation of WordPress onto it.

Once you have your test WordPress site up and running you will need to grab your latest backup, automagically this will contain 5 files that alll use the following naming convention:

  • backup_[date]-[time]_[Website_Name]_[hex-tag]

  • backup_[date]-[time]_[Website_Name]_[hex-tag]

  • backup_[date]-[time]_[Website_Name]_[hex-tag]

  • backup_[date]-[time]_[Website_Name]_[hex-tag]

  • backup_[date]-[time]_[Website_Name]_[hex-tag]-db.gz

The file contains files from your web server that aren’t with your plugins, themes, or uploads folders. You won’t actually need this file as you will manage to restore your internet site without it.

Upload Your Backup

Now that you've a copy of your backed up WordPress files and database, you need to uncompress the 3 zip files (plugins, themes, and uploads) and connect for a new blank WordPress test site via FTP. You can make this happen by installing a totally free FTP client like Filezilla.

If you’re using a local WordPress site then you need to copy and paste these folders to wherever you've got your WordPress site installed in your hard drive.

Once you’re within your test WordPress site’s directory, you ought to see three folders at the top of the list. These are wp-admin, wp-content, and wp-includes. To restore your internet site you must upload your backed up files towards the wp-content folder.


Once inside the wp-content folder you should replace the plugins, themes, and uploads folders on your own web server with your copied versions. Don’t worry in the event you don’t see an upload folder, it isn’t present as you haven’t uploaded anything to your WordPress media library yet.

This part will take some time, especially if you have a slow web connection or in the event you have a large website. So whilst you’re expecting the files to upload visit phpMyAdmin to import your database backup.

Import Your Database

Most web servers have tools like cPanel or Plesk installed which permit you to manage things like email accounts, FTP access, web app installations like WordPress, along with your databases. Under the database section you need to see an alternative to launch phpMyAdmin - something that allows you to definitely manage your databases via your online browser.


Once you have launched phpMyAdmin you will must select the database that correlates for your blank WordPress test site. You specified the database name when you installed WordPress, so think back and look your notes. Once you’re inside correct database, click the Import tab towards the top of the screen. You will then use a screen nearly the same as this:

Click around the “Choose file” button and pick the db.gz backup file from the backup. Leave all the settings on their default value and go through the “Go” button. This will now import your copied database.


Check Your Website

Once your files have finished uploading along with your database is imported, navigate in your test website address using your browser. Provided your backups are working correctly you ought to now see a carbon copy of the live website.

Congratulations, you now know that your backups operate as intended!

Restoring For Real

If your web site is damaged for reasons uknown and you need to restore are the real deal, you can follow the identical process as above. However, as an alternative to creating a test site you merely remove and re-install WordPress you main site, then follow the same process.


Backing up any crucial information is extremely important, but understanding how to restore that duplicated data if you need it is as important as the backups themselves, or even more so. A lot of people believe that it will never eventually them so they don’t backup. But why take that risk when the process of creating and testing backups is so simple with UpdraftPlus?

Do you guys use a different technique of backing up your WordPress site? Or maybe you don’t backup at all? Either way we might love to hear your thoughts inside comments below.

No comments

Post a Comment