Extension that allows to create backups of mysql database (structure, data and FK's)
Yii 1.1 or above.
On controller:
(to download the generated sql file)
Yii::import('ext.dumpDB.dumpDB'); $dumper = new dumpDB(); $dumper->getDump();
(to show the generated sql)
Yii::import('ext.dumpDB.dumpDB'); $dumper = new dumpDB(); echo $dumper->getDump(false);
Total 4 comments
Hi, thanks for your extension. But I found there is something wrong. when I want to generate as sql file, it doesn't work. It always return 0 size file sql (without contain). but I made some changes to make it work.
sorry for my bad english :D
Thank you, aidai524.
I have corrected it.
the code '$dumper = new dbBackup();' is wrong, the correct code should be '$dumper = new dumpDB();'
It has just been released 5 days ago, and you've listed it in "Resources" on this page. What's the difference between the two?
Leave a comment
Please login to leave your comment.