backupDB is a PHP script to dump a MySQL database and send the dump to a given e-mail for backup purposes.
It was inspired by the backup function of the WordPress plugin „wp-dbmanager„.
backupDB is published under GPL/GNUv3
- PHP 4.x or newer
- MySQL 4.x or newer
Download the package and unpack it. Edit „config.php“ for custom configuration.
Delete the contents of the package.
Once installed, run „backupDB.php“
path where the backups will be temporarily stored; default is script location
path where logfile will be stored; default is script location
the email address where the backups will be send to
list of databases to backup
Description of the database, will be used as mail subject
comma separated list of name(s) of database table(s) to exclude from backup; leave empty if all tables should be included, no whitespaces allowed
This software is provided as is without any guarantees or warranty.
Use at OWN risk!
- changed: ignore-table now accepts more than one tablename
- added: description for backup set
- added: option to exclude single table
- initial release
backupDB (RAR-archive, 14kb)