PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > The PowWeb Platform > MySQL
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 12-23-04, 04:50 PM   #1
MLWhite707
Registered
 
Join Date: Dec 2004
Location: USA
Posts: 13
Reputation: 5
Using PowWeb's Database Backups

I just discovered that PowWeb has done a number of backups to my database, and I've download and unzipped one of them. However, I don't know how to recover any data from the dump file. Can anyone help me with this?

IHS,
mike
MLWhite707 is offline  
Old 12-23-04, 05:00 PM   #2
KarlFry
 
Posts: n/a
You can open up the dump file in a program like Notepad or Wordpad to view its basic contents. If you need a backup restored to your database, you can either do so through http://phpmyadmin.powweb.com - or if the dump file is over a few megabytes you may need one of our admins to upload the database for you.

If you need one of our admins to upload a database for you, please email support@powweb.com and include the following information:

1) Upload the dump file to the root of your webspace. What is the filename?
2) What is the name of the database you want the dump imported to?
3) What database server is it on?
4) What is your FTP username and FTP server?

#1 and #2 are necessary - #3 and #4 are appreciated and preferred.

Please make sure not to post any of this information here in the forums for your security.

Karl F.
PowWeb Technical Support
 
Old 12-24-04, 01:49 PM   #3
MLWhite707
Registered
 
Join Date: Dec 2004
Location: USA
Posts: 13
Reputation: 5
Thanks, Karl! I've discovered that I haven't yet overwritten or otherwise lost my original database, so it appears to be intact for now. However, for future reference, how would I edit the content of such a dump file in Notepad? Furthermore, since I'm still quite new to using php, how would I use phymyadmin to restore a database backup? Your help is GREATLY appreciated! Have a very Merry Christmas and a Blessed New Year!

IHS,
mike
http://www.parsonplace.com
http://software.parsonplace.com
http://books.parsonplace.com
http://shop.parsonplace.com
MLWhite707 is offline  
Old 12-24-04, 02:50 PM   #4
KarlFry
 
Posts: n/a
In Notepad it wouldn't be particularly easy to update/edit. I would recommend using phpmyadmin for editing as well.

To import a database in phpmyadmin, log in, go to "Databases", select your database, click on the "SQL" tab, open up the contents of your .dmp file, and copy/paste the queries into that large box and click "Go".

It won't let you directly import the .dmp file since it has some header info, but if you open up the .dmp in notepad you can remove the header info and send in only the queries.

Karl F.
PowWeb Technical Support
 
Old 12-25-04, 05:08 PM   #5
MLWhite707
Registered
 
Join Date: Dec 2004
Location: USA
Posts: 13
Reputation: 5
Which part constitutes the header section? Once I've excised that part, would I use the browse option to choose the dump file and upload it that way, or how would I proceed to do that? Thanks again for all you help!

IHS,
mike
MLWhite707 is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:26 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.