Backing up and migrating a site

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

This guide provides information on how to back up a site and how to migrate a site (for example, from one host to another).

Back up your Drupal 7 site using the command line

When you backup your website you create copies of both the files and the database.

Backing up a site

General backup best practices

Backing up your site (GUI)

Backup your Drupal files

Migrating a site

Migrating Drupal site if you change hosts, or if you maintain separate development and live sites.

Multisite Backup Script

Here's a perl script that should properly backup a multisite Drupal installation. I've tested it on my site and it seems to work, but it

Restoring a database backup (command line)

Most site updates happen without incident and when successful, the database dump you made can be discarded or archived. However,

Guide maintainers

mchar's picture