★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/000343.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  PHP
  backup mysql database with php3

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   backup mysql database with php3
Jimmy
Junior Member
posted December 06, 1999 03:01 AM     Click Here to See the Profile for Jimmy   Click Here to Email Jimmy     Edit/Delete Message Reply w/Quote
What is the best way to backup a mysql database through a php script?
Thanks,
Jimmy.

Hans
Junior Member
posted December 08, 1999 08:06 AM     Click Here to See the Profile for Hans     Edit/Delete Message Reply w/Quote
You could use the exec function to execute the program mysqldump and send the output of mysqldump to some file.

_dustin
Junior Member
posted December 12, 1999 01:20 PM     Click Here to See the Profile for _dustin   Click Here to Email _dustin     Edit/Delete Message Reply w/Quote
Antoher way could be to dump specified tables to a file with tabbed spaces, and then output it to a file. Personally I don't like using exec for security, so that's how I do it.

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.