If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > how to backup MySQL DB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-04, 04:58
pclh pclh is offline
Registered User
 
Join Date: Apr 2004
Posts: 1
Unhappy how to backup MySQL DB

Hey guys,

i'm new to mysql. currently i have a database with 2 tables in it. my database name is malibu_udnerconstruction. the problem now is that i wan to do a backup on the database, but i don know how to do it. can any1 pls help me?

many thanks,
Pat
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 08:00
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
use mysqldump to dump the entire data and table structure.
if you just need to save the data you can do that by using the --no-creaete-info option.

Edit: Sorry I had originally put --no-data where it should be --no-create-info option

Last edited by guelphdad; 04-30-04 at 14:02.
Reply With Quote
  #3 (permalink)  
Old 11-03-11, 11:27
alejandroarauz alejandroarauz is offline
Registered User
 
Join Date: Nov 2011
Posts: 3
mysqldump

As Guelphdad mentioned, you can use the mysqldump command, here is an example:
mysqldump --opt --host=localhost --user=myUser --password=myPass --result-file=C:\Backups\myBackupFile.sql myDatabase

in this case "myDatabase" will be your database name "malibu_udnerconstruction"

Also, if you are new to mysql there are many tools that can help you with the backup process. Take a look at MySQLBackupFTP ,the interface is very friendly and the tool has good features like file compression, ftp, and mail notifications.
Reply With Quote
  #4 (permalink)  
Old 11-03-11, 13:20
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
alejandro, thanks for your effort, but please do not revive a thread that has been dead for so many years

the original poster is surely not still waiting over seven years for an answer, and if there's anyone else who has a question about mysql backups, we want them to start a new thread
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #5 (permalink)  
Old 11-09-11, 05:08
ankur02018 ankur02018 is offline
Registered User
 
Join Date: Jun 2007
Posts: 189
Seven year old thread Revived
Please make any check such case not going to happen again
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On