Jump to content

Archived

This topic is now archived and is closed to further replies.

jayR

Backup Issues

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.