hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : Transfer Large Many Files From Server To Server - How? Please Help!
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

Transfer Large Many Files From Server To Server - How? Please Help!

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-23-2009, 08:58 PM
isi123 isi123 is offline
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 38

Transfer Large Many Files From Server To Server - How? Please Help!


Hi,

In reference to my previous post, i want to tranfer accross 7GB of data, approximatly 80,000 files i believe it is (due to a gallery script).

It's currently on another host (on a webhosting account) which uses their own control panel which has no options but to manage databases, the only way i can see to do this is via FTP but it'll take me days. I've tried using compressing and backup scripts, but the damn execution time on the hosts server is too low to allow the files to be zipped. Are there any ways? Can i login to my VPS via SSH and anyhow pull off the files from the other hosts server?



Thanks alot!

Reply With Quote


Sponsored Links
  #2  
Old 10-23-2009, 09:09 PM
bear bear is offline
Community Leader
 
Join Date: Oct 2002
Location: cognito
Posts: 17,439
Yes, you can use scp, rsync or even FTP from server to server through shell. Rsync would be the simplest, I believe. From the gaining server:
Code:
rsync -aqz "ssh -p PORT" root@HOST:/home/USER/public_html/ /home/USER/public_html
Where:
PORT = the SSH port on the old server.
HOST = the IP address (or hostname) of the old server.
USER = the account username, which is the same on both the old and new servers.

__________________
Have problems (don't we all)? Head over to the help desk
If at first you don't succeed, that's one data point.


Reply With Quote
  #3  
Old 10-23-2009, 09:23 PM
isi123 isi123 is offline
Junior Guru Wannabe
 
Join Date: Jun 2008
Posts: 38
Quote:
Originally Posted by bear View Post
Yes, you can use scp, rsync or even FTP from server to server through shell. Rsync would be the simplest, I believe. From the gaining server:
Code:
rsync -aqz "ssh -p PORT" root@HOST:/home/USER/public_html/ /home/USER/public_html
Where:
PORT = the SSH port on the old server.
HOST = the IP address (or hostname) of the old server.
USER = the account username, which is the same on both the old and new servers.
Hi,

Thanks. But one thing. Do i enter this into my VPS shell? Also, my webhosting account (where i need the data from) doesn't support SSH or anything. Pretty silly. The only thing i've seen work is FTP.

Could you please show me the FTP method? And elaborate a little more, on the steps i can do it at.

Thanks so much!

Reply With Quote
Sponsored Links
  #4  
Old 10-23-2009, 09:34 PM
ConceptLane ConceptLane is offline
Junior Guru Wannabe
 
Join Date: Jul 2009
Location: Singapore
Posts: 50
CentOS? Check out lftp, it can be made to run in the background (on your VPS).

1. Put this into a new file, e.g. download.bsh (and replace those "variables" in <>)
Code:
#!/bin/bash
lftp -c "open -u <USR>,<PWD> <FTP_HOST>
set ftp:ssl-allow no
mirror <REMOTE_PATH> <LOCAL_PATH_IF_NOT_CURRENT_DIR> &
quit"
2. chmod u+x download.bsh
3. ./download.bsh

You can grab lftp for CentOS from here: http://dag.wieers.com/rpm/packages/lftp/

Good luck.

__________________
Roy Lee
ConceptLane Pte Ltd
Singapore Hosting, VPS, Colo, Dedi, Web Apps


Last edited by ConceptLane; 10-23-2009 at 09:37 PM. Reason: Realised poster's intention is to download, not upload
Reply With Quote
  #5  
Old 10-23-2009, 09:36 PM
AdmoNet AdmoNet is offline
Aspiring Evangelist
 
Join Date: Mar 2003
Location: Saint Joseph, Missouri
Posts: 439
All,

You can also run any process in the background by simply putting "&" after the command. Use the command "fg" to bring the once backgrounded process back to the foreground.

Also you can install the program "screen" to allow you to run multiple background processes and "reattach" to them later.

Cheers!

__________________
=> • Admo.net Web Services, LLC •
=> Managed Hosting • Dedicated Servers • SolusVM VPS • vmware ESX VM's
=> Located in Kansas City's Largest Carrier-Neutral Facility
=> Over •Twelve• Years of Service

Reply With Quote
  #6  
Old 10-23-2009, 09:52 PM
plumsauce plumsauce is offline
******* Unleaded
 
Join Date: Feb 2004
Posts: 3,790
You could also use wget in mirror mode if there is an index file it can get at.

__________________
edgedirector.com
managed dns global failover and load balance (gslb)
exactstate.com
uptime report for webhostingtalk.com

Reply With Quote
  #7  
Old 10-23-2009, 11:24 PM
Matt - Kerplunc Matt - Kerplunc is offline
Web Hosting Master
 
Join Date: Dec 2007
Posts: 609
You could also use scp

scp [FILENAME] root@IPADDRESS:/directory/on/remoter/server/

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking to host large files on shared server normaldotcom Web Hosting 7 09-04-2009 01:40 PM
Transfer Large Data Files Joel Theodore Dedicated Server 4 06-15-2008 10:24 AM
transfer large domain to another server manuel_accu Hosting Security and Technology Tutorials 1 06-12-2006 11:16 AM
Transfer files from server to server with shell jailbird2 Running a Web Hosting Business 3 09-11-2004 08:11 PM
Large server lease for transfer! airpal1234 Other Offers & Requests 4 04-09-2004 10:54 PM

Related posts from TheWhir.com
Title Type Date Posted
UK Web Host Heart Internet Launches SSD VPS Web Hosting News 2013-03-11 08:07:21
Attunity CloudBeam Allows AWS Customers to Transfer Big Data Across S3 Regions Web Hosting News 2012-07-23 16:45:57
MochaHost Enhances Server Performance with Tomcat Native Library Accelerator Web Hosting News 2012-08-01 15:35:20
Flux Launches Free Cloud Workflow Management Service for Web Hosts, Businesses Web Hosting News 2012-03-28 15:41:00
Netcraft Web Server Survey Finds Large Growth of Amazon EC2 Sites Web Hosting News 2011-08-05 19:02:44


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?