daniele_dll ha fatto una classe che permette di dumpare il db

http://www.phpsoft.it/downloads.php

cerca MySQL_dump class