ROFL, you could use the mysqldump command line utility to dump teh database.
Then use the mysql command line utility to load what it produces back up.
mysql -u your_username -p
[ enter your password ]
use [ the database name ]
source /the/path/to/file.sql