Sea Crest Hosting Forum Index Sea Crest Hosting
Quality Web Hosting with a Personal Touch...
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Backup & Restore a MySQL Database

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Sea Crest Hosting Forum Index -> MySQL Database
View previous topic :: View next topic  
Author Message
Piggie
Site Admin


Joined: 10 Dec 2005
Posts: 59
Location: Florida

PostPosted: Sun Feb 04, 2007 4:10 pm    Post subject: Backup & Restore a MySQL Database Reply with quote

How do I backup my database or table?

First open phpMyAdmin from the Plesk control panel (other’s can find it somewhere in their control panels.) In Plesk, click databases, then the database name. Then click DB Webadmin, which opens phpMyAdmin.

Once open there should be a place to click called Export. If it’s not available then click on the database name in the left frame, then click on the Export tab.

Here you can backup the structure, data or both. If you don’t click anything default is to save both. The click Save as file and it will also give you the option in some cases to save as a normal or compressed. It’s better to compress large databases. This will now download to your local machine copy of the database from which you can restore or recreate the database if you use the both option above.


How do I restore (upload) my database or tables and what is a .sql file?

Again, First open phpMyAdmin from the Plesk control panel (other’s can find it somewhere in their control panels.) In Plesk, click databases, then the database name. Then click DB Webadmin, which opens phpMyAdmin.

Once open there should be a place to click called Import. If it’s not available then click on the database name in the left frame, then click on the Import tab

Then look for the File to Import and Browse to find the file to upload you saved on your local machine. At this point you should be able to just click Go and it will upload you’re your web site. Some of the older versions ask what format you saved (.sql, .sql.gzip, or .sql.zip), then just tell it and hit Go.

Restore Addendum:

If you totally lost or have a corrupted database, but have a good copy of your database backup, then do this also.

Delete the data base from your website, then create it again, using the same database name, user name and password. This will save editing your config file in your php program. Then go to the above instructions and upload the database into your new database. You program should run again.
_________________
This forum is made entirely of post consumer data bits... Piggie Piggie!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Sea Crest Hosting Forum Index -> MySQL Database All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sponsored by Sea Crest Hosting © 2005, 2007
Quality Web Hosting with a Personal Touch...

Powered by phpBB © 2001, 2007 phpBB Group