mysqldump

Dump a database or a collection of databases in a portable format