Drupal Backup Script

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.

Download Drupal Backup


Filename/TitleSize
backup.php_.txt4.95 KB
5
Average: 5 (1 vote)
Your rating: None
Login or register to tag items