Last updated February 20, 2015. Created on May 8, 2007.
Edited by HongPong, dgorton, verta, quicksketch. Log in to edit this page.

Per the project page, the Backup module is no longer supported for 5.x. Users interested in backing up their Drupal site should try Backup and Migrate instead.

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.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.

Comments

gaele’s picture

The backup module uses the (Unix / Linux) commands tar, gzip and mysqldump. Make sure they are included in the webserver's $PATH before installing this module.

mightyiam’s picture

I've gotten warnings about "open_basedir restriction". It turned out to be because my server was running suPHP and did not specify the location of the required binaries in the server wide open_basedir option. To solve this I had to add the following to my .htaccess file.

suPHP_ConfigPath /home/username/public_html
<Files php.ini>
order allow,deny
deny from all
</Files>

And also create a php.ini file in Drupal's root containing the following.

open_basedir=".:/proc/uptime:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin/:/usr/bin/:/bin/"
andrabr’s picture

Some cheap shared hosting services, like doDaddy economy plan, restrict "exec cmd", and access to mysqldump.

The module will still backup your biles, but not the database.

Solution: spend an extra $5/month on decent hosting, your boss can survive with one less latte :-)

A>

A>