Blog or website is important part of any owner’s life.  We work hard on articles , Images , and spend a lot of time on research and SEO .  But what if something goes wrong?

Many good hosts provide free backup services , But what if you are using one without backup services?  If someone crash your website.?  Fortunately, if you don’t know how to backup your WordPress cms based website, you’ve come to the right place.

Why having backup is necessary ?

Before the acquisition of knowledge of  backing up WordPress, it is significance to converse about why you should tutelage about doing this and why you should have backups of your every website. This is actually individualistic selection of using WordPress – whatever your website is built with, you should always have regular backups.

Backing up your website allows you to Getting last working version of the website. Server Crash , Hacking , Human error are serious issues.  For saving time , and for peace of mind backup of the website is important.

Anyone can make mistake , You , your webmaster , your server administrator anyone. These mistakes can be severe  where all or a part of your website is altered: you can lose precious contents , useful photos, important videos, or you can even lose administrative access to your website. That’s surely not a thing you want even in dreams , and that’s why backing up your website is important. You can even retrieve your whole website, without losing anything.

For safety you can take 3 backups per week. If you post articles regularly than you can take backups per day. It depends on your choice.

How to Back up WordPress
WordPress is divided into two parts :  Files and Database.  File includes theme files, media files and website structure. Database ( MySql in the case of WordPress) Includes articles , pages .

Both are equally important , Without files you can’t create website structure and without database you can’t get contents back. Backup can be done automatically by using plugins.

Here are 5 best Backup plugins  (My article about Installation of these plugins)

  1. Vaultpress
  2. Backupbuddy
  3. Codeguard
  4. BackWPup
  5. BackUpWordPress

Now by using these plugins you can download your backups anytime whenever you wish too. These plugins automatically takes backups . Many hosts provide free backup services.

Restoring the WordPress Files

First we will restore files , If your backup contains all the files, including the WordPress core, then you can upload all of them at the one time. Don’t forget to replace the wp-config-sample.php file by your own wp-config.php file you backed up. Then, upload your plugins and themes, then your media files.

After That you have to restore database. As data contains articles , posts , pages , users details , login passwords. For restoring database , we will use PhpMyAdmin After selecting database we will import the sql file ( database backup file should be in sql format , other formats like zip, gzip will not work )

Here i am posting video of whole process . It includes manual backups of database and WordPress files.

Conclusion : 

In this article we learned how to restore your WordPress website , How to create automatic and Manual backups.  Always keep one copy of  backups online in google drive or in external hard disk .