MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 3rd, 2003, 04:52 AM
peeyush peeyush is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: India
Posts: 17 peeyush User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to peeyush
Backup and Restore of MySQL database

Hello Everybody

I have made a small software using MySQL as backend and ASP is middleware and HTML as frontend.

Now the software is completed and working quite fine, only missning feature is backup/restore. I want to give the user the option of having backup/restore, and that backup option should backup the required tables from database in some other location (ie on the same server as MySQL). Similarly there should be restore where user can restore his tables only in case of catastrophe.

My question is what is the best way to do it?? first is MySQL has any option to for this kind of backup and can use the MySQL feature through ASP? second if first is not possible what is best way to do it, i.e. whether I make text files, or install another MySQL server and copy the data to that (I dont want this option) etc etc??

Please help

Reply With Quote
  #2  
Old January 6th, 2003, 08:26 AM
peeyush peeyush is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: India
Posts: 17 peeyush User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to peeyush
Hello, Is anybody there??

Reply With Quote
  #3  
Old January 6th, 2003, 08:36 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
you will need to loop though the tables and fields, and store the information in a sql format, then you will need to create a parser that will take that file and execute a the sql queries restoring the databaes.

Reply With Quote
  #4  
Old January 7th, 2003, 10:12 AM
hadley hadley is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 63 hadley User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Or you could try reading the mySQL documentation.

BACKUP_TABLE, and mysqldump, may be of particular interest.

Hadley

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Backup and Restore of MySQL database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway