Jump to content


Photo

Backup Issues


  • Please log in to reply
2 replies to this topic

#1 jayR

jayR
  • Members
  • PipPip
  • Member
  • 26 posts

Posted 11 July 2006 - 01:45 PM

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?

#2 cmgmyr

cmgmyr
  • Members
  • PipPipPip
  • Advanced Member
  • 1,278 posts
  • LocationUSA

Posted 11 July 2006 - 01:48 PM

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

#3 ShogunWarrior

ShogunWarrior
  • Members
  • PipPipPip
  • Advanced Member
  • 528 posts
  • LocationIreland

Posted 11 July 2006 - 01:50 PM

Try using the PHP Class Mysql Export: http://www.phpclasse...ckage/1931.html
<a href="http://www.daviddora...nmedia.com/">My New Site/Blog</a> | <a href="http://www.daviddora...m/check/">Check your page for broken links/images/scripts</a>

Zend Certified Engineer
Follow me on Twitter: http://twitter.com/davidd




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users