Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
trasfer data from 1 server to another
Old 11-19-2006, 06:34 PM trasfer data from 1 server to another
Experienced Talker

Posts: 31
Trades: 0
I need to know how can I trasfer data from 1 server to another using ssh? Anyone knows how to do it?
desiram is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-19-2006, 11:16 PM Re: trasfer data from 1 server to another
stOx's Avatar
Machine

Latest Blog Post:
Worlds Smallest Car - Peel P50
Posts: 2,111
Name: Matt. (>',')>
Location: London, England.
Trades: 0
SSH from your computer to one server, then SSH or FTP from the server to the other server, then use mput to transfer files.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
stOx is offline
Reply With Quote
View Public Profile Visit stOx's homepage!
 
Old 11-23-2006, 09:19 AM Re: trasfer data from 1 server to another
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
If you and your server are NIX based you can pipe rsync through ssh to copy/ update your files from one machine to the other.

rsync -avp -e "ssh" /folder/ user@server:/path/to/put/it/on/the/server/

NOTE: rsync will copy fulders and sub folders along with files inside those folders. So you need only copy your Doc Root folder and all inside will be copied too.

rsync also takes a look at the files and will only update/ copy files with a newer timestamp. Do a man rsycn for full docs.

If you only have ssh and are windows based then you will more than likely not have scp (ssh tool) and would then have to pipe ftp through ssh (which your ftp client can manage for you).

Ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf

Last edited by ibbo; 11-23-2006 at 09:21 AM..
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Old 11-27-2006, 03:57 AM Re: trasfer data from 1 server to another
Experienced Talker

Posts: 31
Trades: 0
Thanks. It worked fine....
desiram is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to trasfer data from 1 server to another
 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13214 seconds with 12 queries