Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

backup

Posted on 2002-03-15
1
Medium Priority
?
168 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 200 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

926 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