Menu

#1 Backing up multiple databases

open
nobody
None
5
2009-04-13
2009-04-13
No

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.

Discussion


Log in to post a comment.