WordPress gives you the option of restoring your entire blog, including the posts and comments, theme settings, plugins settings and the complete content including comments and other trackback details by a simple import. But to import all of these, you need to have a backup.
The Internet is extremely vulnerable, and no hosting company or server can say that they are completely protected from virus attacks, spyware and malware attacks, and hacker attacks. In that case, a backup should always be your first line of defense.
How to Backup Your WordPress Blog:
Since WordPress is a blog platform that works entirely on a MySQL database, keeping a backup of your database is pretty much all you need (you might also want to backup your theme files once in a while, though).
Most hosting providers will backup your website files and database, but you should rely on that too much. Why? Because if anything happens to the servers of your provider they could lose both the original files and the backups.
When it comes to backups it is always essential to have them stored in at least two different physical locations. Below you’ll find three ways to achieve this.
1. Backup from cPanel – The easiest form of creating a backup is from the CPanel of your hosting company. If your hosting company gives you access to a Cpanel, then all that you have to do is use the “backup wizard” option that is available on the front page of your Cpanel to create a backup.
2. WordPress Database Backup – This is a simple to configure a database backup plugin that will maintain a periodic backup of your core WordPress tables. The options are easily configurable and it gives you an option of creating a backup and downloading it onto your computer or, periodically emailing it to a designated email of yours. You can even choose to save a copy of the backup on your hosting server.
3. WordPress Online Automated Backup – This is a handy little tool with the difference that all backups are kept safe at a location on their website. I use this tool in addition to the above plugin, as another layer of protection.
Whatever the options you choose, just make sure that you are creating backups regularly and storing them properly. Better safe than sorry, as they say.