jayR Posted July 11, 2006 Share Posted July 11, 2006 Ok, so this summer I'm working as an intern and developing a PHP system for the company. No one here really knows anything about PHP/MySQL/any web stuff pretty much. I just set up a simple server, running WAMP5, and everything is running fine off of this. The problem is that I leave here in a little over a month, and they would like backup capabilities for their database, obviously. I would really like to write a php program that allows them to simply click a "Backup" button and an sql file would be generated with all the contents of the database. I know that MySQL allows people to export their databases, but is there a way to call this export from PHP? or will I need to write php that generates the sql export? Quote Link to comment https://forums.phpfreaks.com/topic/14293-backup-issues/ Share on other sites More sharing options...
cmgmyr Posted July 11, 2006 Share Posted July 11, 2006 An easy way to do this would be to install phpMyAdmin, all you have to do is select your database, click extract and boom! you are done.You can also make the scripts yourself if you want to.-Chris Quote Link to comment https://forums.phpfreaks.com/topic/14293-backup-issues/#findComment-56189 Share on other sites More sharing options...
ShogunWarrior Posted July 11, 2006 Share Posted July 11, 2006 Try using the PHP Class Mysql Export: http://www.phpclasses.org/browse/package/1931.html Quote Link to comment https://forums.phpfreaks.com/topic/14293-backup-issues/#findComment-56192 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.