NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Restore database by script

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-10-2005, 11:12 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Feb 2005
Posts: 579
abcde is a jewel in the roughabcde is a jewel in the roughabcde is a jewel in the rough
 



Restore database by script


What script you think its best. i use some, but fail to restore big file.

i want to restore table by table, but with table "post.sql" i can't do it by anyway.
abcde is offline  
Old 03-10-2005, 12:07 PM   #2 (permalink)
NamePros Regular
Join Date: Mar 2004
Posts: 633
theparrot is a jewel in the roughtheparrot is a jewel in the roughtheparrot is a jewel in the rough
 



usually timeouts are set for web requests. So using a script to restore a large file like you say is probably not the most reliable way. Use ssh and shell command, it would be more reliable for this.
__________________
Need a break? Check out TheDamnBlog.com
Free $6.95 directi accounts at Directi Name Bin
Instant free $8.95 eNom accounts at Dncube.com
theparrot is offline  
Old 03-10-2005, 12:13 PM THREAD STARTER               #3 (permalink)
NamePros Regular
Join Date: Feb 2005
Posts: 579
abcde is a jewel in the roughabcde is a jewel in the roughabcde is a jewel in the rough
 



what is ssh and where to get it?
abcde is offline  
Old 03-10-2005, 12:25 PM   #4 (permalink)
NamePros Regular
Join Date: Mar 2004
Posts: 633
theparrot is a jewel in the roughtheparrot is a jewel in the roughtheparrot is a jewel in the rough
 



Originally Posted by abcde
what is ssh and where to get it?

????: NamePros.com http://www.namepros.com/programming/74426-restore-database-by-script.html
Well I made a few assuption, one was that you script/db is on a Unix like host?

You have to check if you get ssh access to you account, if you are not on a dedicated server. If you do and you are running windows, search for putty.

Since it seems you have not used shell before, you may want to send a request for help to your host, and/or also hire someone to give you a quick hand with the restore.
__________________
Need a break? Check out TheDamnBlog.com
Free $6.95 directi accounts at Directi Name Bin
Instant free $8.95 eNom accounts at Dncube.com
theparrot is offline  
Old 03-10-2005, 02:11 PM   #5 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
you could use ssh and mysql commands to do it(its quite easy really)

but another way you could do is break the file down into 2mb chunks and upload them bit buy bit
adam_uk is offline  
Old 03-10-2005, 08:43 PM   #6 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



You could also make the script execute the ssh/mysql commands for you. I have backup/restored nearly 1 Gigabyte databases for users who who didn't have ssh access and were unable to get it done via phpMyAdmin or any other way.
deadserious is offline  
Old 03-11-2005, 10:28 AM   #7 (permalink)
NamePros Member
Join Date: Oct 2004
Location: New York
Posts: 75
redking is an unknown quantity at this point
 



Originally Posted by abcde
what is ssh and where to get it?
LOL

This game is not for kids like you.

Ssh (Secure Shell) is a program to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides strong authentication and secure communications over unsecure channels. It is intended as a replacement for rlogin, rsh, and rcp.
redking is offline  
Old 03-11-2005, 02:06 PM   #8 (permalink)
NamePros Expert
 
Peter's Avatar
Join Date: Nov 2003
Location: Scotland
Posts: 5,069
Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute
 


Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
Originally Posted by redking
This game is not for kids like you.
we all had to start somewhere.
__________________
Manage your portfolio using my new Domain Portfolio Management script.
Securing Your Domain Name From Theft
Peter is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
60.000 Templates, scripts, fonts, banners etc. $9.95 atkims Web Development Wanted 19 11-16-2004 10:48 AM
HOWTO: Backup and Restore your MySQL databases with phpMyAdmin deadserious Webmaster Tutorials 2 04-05-2004 03:15 PM
Domain Rating Script for Sale : $200.00 - only 10 scripts will be sold fonzerelli_79 Scripts For Sale 3 08-31-2003 09:41 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:34 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger