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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows mysql backup

Status
Not open for further replies.

timgerr

IS-IT--Management
Jan 22, 2004
364
US
I was wondering what the command is to backup a mysql database on windows. I tried to do a search for this in the forms but I kept getting error 404.

Thanks,
Timgerr
 
mysqldump probably.

______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
The windows version of mysql I could not find mysqldump. Any orther commands that I could script.

Thanks.

Timgerr
 
If you have installed phpmysqladmin, use it

Bastien

Cat, the other other white meat
 
If you're using only MyISAM tables, then a good way to do a backup is to use BACKUP TABLE:
[tt]
LOCK TABLE tbl1,tbl2,tbl3;
BACKUP TABLE tbl1,tbl2,tbl3 TO 'k:\tuesday';
UNLOCK TABLES;
[/tt]

This operation simply copies each table's data and format files to the named directory, so it has to be the fastest and most compact backup system possible.


-----
ALTER world DROP injustice, ADD peace;
 
you could download the mysql administrator from mysql web site. This has a backup facility, using a nice GUI interface. I have used it in a test enviroment and it worked just fine. Also you can set up daily or a weekly schedules as well. I'm new to mysql and found this to be a most useful tool still learning.
Hope this has been some use to you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top