The backup module performs a backup of your entire Drupal website. An archive file, or tarball, of your Drupal database and all your files is created on the webserver. You can then download this file with your web browser.
- create a backup tarball at administer >> content >> backup.
- file issues, read about known bugs, and download the latest version on the Backup project page (Note: 4.x and 5.x only - module may be abandoned.
Restoring from a backup
The backup module doesn't have the capability to restore from a backup, as this would involve Drupal having its own files and database pulled from under it as it runs.
To restore a backup archive from a unix / linux command line:
- Untar the tarball into your document_root directory. This will recreate the file structure.
- Unzip the database file. You'll need to use the gzip program for that.
- Re-create the database by typing "mysql < database-dump-filename". Depending on your configuration, you may need to supply credentials via parameters to MySQL as necessary.