Backing up multiple databases
Status: Beta
Brought to you by:
duivesteyn
There appears to be an error in the code on line 31. It reads this:
$mysqldumpcmd $userpassword $dumpoptions $databases > ${backupdir}/sql/${DOW}-${database}.sql
It should read this:
$mysqldumpcmd $userpassword $dumpoptions $database > ${backupdir}/sql/${DOW}-${database}.sql
The key is $database instead of $databases before the dump.