Back up and restore your Drupal MySQL database, code, and files or migrate a site between environments. Backup and Migrate supports gzip, bzip and zip compression as well as automatic scheduled backups.
With Backup and Migrate you can dump some or all of your database tables to a file download or save to a file on the server or offsite, and to restore from an uploaded or previously saved database dump. You can choose which tables and what data to backup and cache data is excluded by default.
Drupal 9 information
The 5.0.x branch is for Drupal 9.
D9 features
- Supported data sources: MySQL, file system
- Supported destinations: local file system
- Drush integration
- Multiple backup schedules
- Optional backup encryption using the defuse/php-encryption library.
For additional backup destinations, please use Backup Migrate Flysystem.
Drupal 8 information
Drupal 8 is no longer supported; support was specifically removed in 5.1.x.
Drupal 7 information
The 7.x-3.x branch is for Drupal 7.
D7 features
- Backup/Restore multiple MySQL databases and code
- Backup of files directory is built into this version
- Add a note to backup files
- Smart delete options make it easier to manage backup files
- Backup to FTP/S3/Email
- Drush integration
- Multiple backup schedules
AES encryption for backups
Modules that enhance Backup and Migrate for D7:
- Elysia Cron - Create custom chron jobs and set more precise backup schedules
- Backup and Migrate Prune - Manage your scheduled backups by selectively deleting files.
- Backup and Migrate SFTP - Backup to SFTP
- Backup and Migrate Dropbox - Backup to Dropbox
Backup and Migrate Rackspace Cloudfiles - Backup to Rackspace Cloudfiles- Replaced by Backup & Migrate OpenCloud- HPCloud - Backup to HPCloud
AES Encryption - Encrypt your backup files
Resources and Documentation
- The most complete resource we've seen is the Modules Unraveled Backup and Migrate video series that covers all aspects of configuring and using Backup and Migrate. If you use code GSBAM25 at checkout, you'll get one full month of free access to all of these great videos.
- For a brief overview, Lullabot's introduction to Backup and Migrate is a great resource.
- Daily Dose of Drupal also has a nice intro screencast.
Security Notice
If you are not running on an Apache server, please see the module README file for advice on securing other servers. Test your configuration or consult an expert if you aren't sure if your server is secure.
NodeSquirrel EOL
As of October 1st, 2019, the NodeSquirrel service has been halted and no longer accepts backups. On November 1st, 2019 all backups will be purged.
Project information
- Module categories: Administration Tools, Developer Tools
- 153,714 sites report using this module
- Created by ronan on , updated
- Drupal 10 is here!
D10 will be supported.
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Fixes D10 compatibility, other issues.
Development version: 5.0.x-dev updated 2 Oct 2023 at 10:07 UTC
Development version: 7.x-3.x-dev updated 9 Jan 2022 at 11:51 UTC