Topic

A reliable backup will allow you to restore your site if something goes wrong, whether it is a server failure, site code or database problems, or user error. Everyone should have a regular back up schedule for their site, and know how to restore the site from those backups. A new backup should also be created before every update of core or a contributed project made to a site. For a Drupal site, you need to make sure to have backups for both your site code, including your site-specific settings and files, and the user-generated content that lives in the database and filesystem.

Example tasks

  • Back up a database and user-generated files
  • Back up Drupal site code
  • Restore a Drupal site from backups

Confidence

Backups are not an integral part of Drupal itself; the procedures and tools are widely used across all web applications. This means the information is widely available and reliable.

Drupalize.Me resources

  • Lullabot Module Monday: Backup and Migrate
    • This module lets you easily create and schedule backups for your site from within the Drupal administrative user interface.
  • Updating Drupal Core
    • This video shows doing a basic backup before an update, which includes saving a copy of the code and using PHPMyAdmin to make a database backup.
  • Create a Site Archive for Import
    • This video demonstrates how to create a backup, with all the components you need, in 2 different ways: using the Backup and Migrate module and using the Drush archive-dump command.

More Guides

We have guides on many Drupal skills and topics.

Explore guides

External resources