Solved

backup

Posted on 2002-03-15
1
160 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses four methods for overlaying images in a container on a web page
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 count occurrences of each item in an array.

772 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

9 Experts available now in Live!

Get 1:1 Help Now