Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL Data-Backups

Status
Not open for further replies.

perlone

Programmer
May 20, 2001
438
US
I'm a perl programmer and using DBI to connect to MySQL.
What is the best way to backup a MySQL database? (on Linux) ----------------------------------------
There is no Knowledge, That is not power.

Yes, i'm a MySQL Newbie.
-Aaron
----------------------------------------
 
Several ways.

You can copy the database or individual tables to another named yourname-backup or whatever. This is the easiest.

You can do a dump into an sql series of statements - see mysqldump

You can extract the data into a text file and load it in later. Select INTO OUTFILE is what you want to search for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top