hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to restore a full db saved with cpanel usinf phpmyadmin
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

How to restore a full db saved with cpanel usinf phpmyadmin

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-28-2004, 04:44 AM
cftranslate cftranslate is offline
Newbie
 
Join Date: Mar 2003
Posts: 27

How to restore a full db saved with cpanel usinf phpmyadmin


It is easy to use cpanel backup utility on a remote server to save one full database to a local hard disk and then on another server I use cpanel again to restore and 'load' de local gz on the new SQL server.

Even the user prefix is changed automatically to suit the server user prefix used in the database!

locally on my computer I don't have cpanel but phpmyadmin.

How can I restore the full database I saved to a local disk as a gz fle using cpanel so that it is loaded into my home computer SQL server.?

(I have phpmyadmin on my remote servers and on my home computer but I use Apache on windows on my home computer where i just have phpmyadmin not cpanel)

Thanks.

Reply With Quote


Sponsored Links
  #2  
Old 11-28-2004, 06:53 AM
Captian_Spike Captian_Spike is offline
Web Hosting Master
 
Join Date: Nov 2003
Location: Canada
Posts: 881
Go into phpmyadmin and click the query link in the lowerleft corner. Then go to the import files tab and upload the gz file.

A second way to do it is extract the .gz file and open the extracted file with notepad. Then copy everything and paste it in the phpmyadmin query window and run the query.

A third option is doing this right from the command line if you are using mysql on linux.

The reason I gave three ways is the first sometime won't work with some compression methods, the second works only with a database that isn't to big, the third would work in all cases.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPanel Security Updates Address Perl Module Vulnerabilities Web Hosting News 2012-12-06 12:55:54
cPanel Conference 2012: What's New with cPanel and WHM with Ken Power Web Hosting News 2012-11-12 13:54:56
Video: cPanel and Attracta Talk About Integrating SEO Tools into the Hosting Control Panel Whir Tv 2012-08-31 14:10:47
Monday Demo: CodeGuard's Website Backup and Restore Tool Blog 2012-02-13 11:11:01
cPanel to Launch Certification Program at cPanel Conference 2011 Web Hosting News 2011-09-21 18:15:42


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?