Solved

backup

Posted on 2002-03-15
1
161 Views
Last Modified: 2006-11-17
how to back up a mysql db with phpmyadmin ?
0
Comment
Question by:d2player
1 Comment
 
LVL 5

Accepted Solution

by:
dkjariwala earned 50 total points
ID: 6870566
Very simple.

Go to your phpmyadmin setup through browser.

On the left side you have list of databases.
Click on any database.

Then on right frame, it would display all the tables you have with information about them.


Scroll down, you would see a section called,

View dump(schema) of database.
Again there would be list of tables. Dont select any.
This way you can take backup of whole db.

Select
*structure and data* from three options named,

 Structure only
 Structure and data
 Data only

Check all the checkboxes,

 Add 'drop table'  
 Complete inserts  
 Extended inserts  
 Use backquotes with tables and fields' names  
 Send  

and then press Go,

It would ask you to download,

file with same name as your db name. That is your complete DB.

This is how you take backup.
To restore this,
Again go to phpmyadmin and import this file in that run sql query section.


JD
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now