[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 03-10-2005, 10:12 AM   #1 (permalink)
NamePros Regular
 
Join Date: Feb 2005
Posts: 543
1,458.47 NP$ (Donate)

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, 11:07 AM   #2 (permalink)
NamePros Regular
 
Join Date: Mar 2004
Posts: 638
502.35 NP$ (Donate)

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, 11:13 AM   #3 (permalink)
NamePros Regular
 
Join Date: Feb 2005
Posts: 543
1,458.47 NP$ (Donate)

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, 11:25 AM   #4 (permalink)
NamePros Regular
 
Join Date: Mar 2004
Posts: 638
502.35 NP$ (Donate)

theparrot is a jewel in the roughtheparrot is a jewel in the roughtheparrot is a jewel in the rough


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

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, 01:11 PM   #5 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

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, 07:43 PM   #6 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

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, 09:28 AM   #7 (permalink)
NamePros Member
 
Join Date: Oct 2004
Location: New York
Posts: 76
177.20 NP$ (Donate)

redking is an unknown quantity at this point


Quote:
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, 01:06 PM   #8 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

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
Quote:
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

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 09:48 AM
HOWTO: Backup and Restore your MySQL databases with phpMyAdmin deadserious Webmaster Tutorials 2 04-05-2004 02:15 PM
Domain Rating Script for Sale : $200.00 - only 10 scripts will be sold fonzerelli_79 Scripts For Sale 3 08-31-2003 08:41 AM

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 05:37 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85