Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to make a backup

Status
Not open for further replies.

iffoiffy

Programmer
Feb 24, 2005
67
CA
Hi,

I am hosting a website at a hosting company. I have Mysql database, using phpMyAdmin 2.5.1. How can I make a back up of my database?

Thanks
 
PMA has the export facility. it makes a sql backup of your db...

Bastien

I wish my computer would do what I want it to do,
instead of what I tell it to do...
 
thanks........ but i did not see any option at PMA that talks about making back up of your database
 
There is (usually) a tab called export, it depends on what your host allows. Your control panel may also have that functionality on it

Bastien

I wish my computer would do what I want it to do,
instead of what I tell it to do...
 
Iffoiffy,

In the absence of finding what you want from PMA, you can achieve your objective from your o/s prompt using the "mysqldump" utility:
Code:
mysqldump --help
...gives you an on-screen rundown of all the mysqldump options. As an example of what we use to backup our databases, we:
Code:
mysqldump --opt --user=<username> --password=<password> --databases <db_name(s)>
********************************************************************************
Let us know if this helps resolve your need.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
 
It's often easiest to do it back at the folder. Copy the db and rename it, done in a second. Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top