Drupal Backup Script
Submitted by dmuth on Mon, 2007-03-12 23:39.
Tags:
This is a standalone PHP script which, when run from the command line, will back up an entire installation of Drupal. It runs mysqldump on the database to a file in DOCUMENT_ROOT, then backs up the entire website, including the database dump.
Both the database backup and main backup have a random number appended to them, to keep an attacker from successfully guessing the filename of a backup. This isn't perfect security, as the backup files are still world-readable, but it's a start.










