DumpSQL is a no-brainer mySQL dump and backup script written in bash.