Solved

backup

Posted on 2002-03-15
1
165 Views
Last Modified: 2006-11-17
how to back up a mysql db with phpmyadmin ?
0
Comment
Question by:d2player
[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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

623 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