Download

Software features

Limitations

Requirements

Usage Example

require('phpmybackup.php');

$db = new MYSQL_DUMP;

$db->dbhost = 'server.com';

$db->dbuser = 'backup-user';

$db->dbpwd = 'backup-password';

$db->backupsToKeep = 30;

$db->showDebug = false;

$db->backupDir = '/mnt/backups/mysql/';

$db->ignoreDatabases = ['test','unimportant_db'];

$db->emptyTables = ['largedb.large_table1','largedb.cachetable'];

$db->dumpDatabases();