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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database Backup

Status
Not open for further replies.

Kdawg22

Programmer
Feb 10, 2004
4
US
I have a backup of a mysql database that i made using cpanel, then i changed hosts and now im using ensim. How can i restore this backup now?
 
The best way to backup and restore is using the mysqldump command and then using the outputted SQL to restore.

Ex:

mysqldump -u username -p -h192.168.10.1 databasename > sqlfilename.sql

Aaron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top