Navigation: Development > Function Reference > Module > DBImExport >
Import database. The sql format should be like exported format.
//Set path App::Module('Dbimexport')->import_path = 'basedb.sql'; //Execute sql App::Module('Dbimexport')->import();