How to Take Backup your WordPress Blog- Complete Guide

Your blog post is a very precious part of your work.  You never want to lose it accidently. Unable to maintain a backup at regular interval may result in loss of your work. In this post, I will discuss the various way to backup and restore your blog.

What WordPress data contains:

WordPress data contains PHP, CSS, images, and SQL tables. Everything like plugin, images upload will be stored within your WordPress.

Let’s see first why should take backup of your blog?

Malicious attack – 

WordPress is the most preferred platform for most bloggers. This also means hackers target blog hosted on WordPress. The attack could be a denial of services, spam, malware, trojan, SQL injection and so on.

Not backing up your data on WordPress could result in loss of your blog post.

Hosting provider is not reliable – 

Most of the hosting provider like Hostgator, Bluehost, Bigrock etc provides daily backup services for WordPress. But if you read their terms and condition of services, they clearly mentioned that they will not be responsible for any loss of data.

So relying on them solely may still result in loss of data.

Hackers sometime harm your reputation too – 

Sometime when you blog is attacked, it not only result in loss of data but damage your reputation. Hackers may change the password, can manipulate data on your blog, steal information or can change the password.

If this will happen to your site, it may not be possible to revert your blog to the previous state. There are companies who charges good money to clean your site from malware and try to get data back. Nobody wants to be in that situation.

How to backup data for your WordPress blog – 

There are various ways to take backup of your data. Let me explain some free way of doing this:

WordPress plugins – 

This is your first line of defense. There are a lot of plugins available on WordPress which can automatically or manually take backup of your data to cloud storage like Google drive, Dropbox, etc.

It also has the feature of uploading backup to FTP server, email, sftp etc. You can also restore your backup with one click. Two of my favorite plugins are DropBox backup and restore and Updraftplus backup and restoration. You can see a complete list of plugins here.

Though it is easier to install and run it, there are some limitations associated with it:

  • Not all features come with free plugin version like copying backup to more than one place
  • As your blog grows and needs more space for backup, taking backup on email or cloud may not be feasible
  • Transmission of files may not be encrypted from these plugins

wordpressbackup-min

Web hosting backup feature:- 

Almost all WordPress hosting sites like Bigrock, Hostgator, Bluehost etc offers WordPress backup and restore with one click. This is your second line of defense.

Always take a complete backup of the blog on your local disk and web hosting server.

There are some limitations of this option:

  • Web hosting provider does not guarantee that your data is safe
  • Not all service provider provides automatic backup option

How to take backup of your WordPress tables – 

As you know your WordPress blog contains Tables and WordPress PHP files. Let’s see how to take backup of SQL tables separately; so that in the case of loss of data, you can recover your table quickly.

Most Web hosting provides PHPMyAdmin tool which can be used to export tables to your local disk. Please see the steps below to take backup.

phpmyadmin-min-min

phpmyadmin1-min-min

 

How to Restore your WordPress Blog:

You can restore your blog using the plugin I mentioned above like Updraftplus or Dropbox backup and restore. You just need to upload your backup file and click on restore, It is that simple.

Restore-min

 

How to restore Your WordPress table using PhpMyAdmin

You can restore your table back using PhpMyAdmin import option. See screen below to understand how to do it.

import_phpmyadmin-min

How Frequent you should take the backup – That depends on how frequently you write. If you write daily, I would suggest taking daily backup else you can do it weekly once.

   Here is a Video Summary of the blog:  

How many layers you backup you should create – 

As much as you can. I would suggest using free cloud service like Google drive, Dropbox etc; then you can also save a copy to your external hard disk or local disk. If the size is not that big, use email and pen drive to store the backup.

Conclusion: Blogging is a product of your hard work. It is your responsibility to protect it from loss. WordPress plugin and your web hosting provide the tool to manage backup and restore of your blog.

Motivational-quotes-4-min

Make several layers of backup for your blog and be ready in case of any disaster with your blog or platform.

Do you have any doubt regarding setup for WordPress backup? Do you need help for how and where  to begin the backup? Please feel free to use the comments section to post your question.

Happy Blogging 🙂

References:

https://codex.wordpress.org/Restoring_Your_Database_From_Backup

  • That’s a good tutorial. Backing up your website/blog is really necessary. In beginning I lost a whole lot of data because I wasn’t backing up regularly. You never know what might hit your website and ruin it for you.

  • >