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,
Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.