Solved

Mysql

Posted on 2011-09-25
3
370 Views
Last Modified: 2012-05-12
I run a database on mysql... I am running windows 7 and I need to back up the whole database including views, tables, data to another machine windows 7...
How to best do that
0
Comment
Question by:EmadGirgis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 24

Accepted Solution

by:
johanntagle earned 500 total points
ID: 36596757
If your data is still small, mysqldump should do it.  See http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html

If your DB is already in gigs and you can afford to shutdown your database:

1.  Determine your datafile directory by looking at my.cnf
2.  Shutdown both source and target databases
3.  Copy the full datafile directory including subdirectories
4.  Restart the databases

If you cannot afford to shutdown the source database, try Percona Xtrabackup - the windows version is still in Alpha though.  See http://www.percona.com/downloads/XtraBackup/XtraBackup-1.6/Windows-alpha/
0
 
LVL 2

Expert Comment

by:mansooralia_yahoo
ID: 36596984
try phpmyadmin, and then exporting, select stored procedures too in the check box
0
 

Author Closing Comment

by:EmadGirgis
ID: 36597151
It appeared to be the easiest way to shutdown the database and move the data directory

Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question