No one likes to think about worst-case scenarios, but mistakes can happen and sites can fail. When this occurs, you want to make sure that you have a backup accessible to quickly restore your website. That’s why it is imperative to backup your Drupal site. There are two main pieces to backup: the database and file system.
Since Drupal is a Content Management System (CMS), the application stores all of your content, configuration files and user data within a database. It is very important to keep the database for your Drupal site safe. The best practice is to back up your database frequently and regularly so that you can restore it in the event of failure.
The file system is the second item that you should back up. With Drupal, you are often inserting images and adding modules, so it is imperative to backup these files. This, in combination with your database backup, can enable you to restore you Drupal site to working order if something goes awry.
Fortunately, there are some Drupal modules that can help you back up your site. One of those modules is the Backup and Migrating to Rackspace Cloud Files module. This incorporates the Drupal Cloud Files API, and allows you to quickly backup your file system to our Content Delivery Network. This is advantageous because the backup resides off of your server, which allows it to be a more secure and offset from your environment or your datacenter.
Check out the previous post in his Drupal series whereBranttalks about modules to help you prevent spam. In his next post, Brant discusses how to update the modules, theme and Drupal core. Find out more abouthosting your Drupal site at Rackspace.