Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2009 07:41:18 +0200
From:      Frederique Rijsdijk <frederique@isafeelin.org>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        "freebsd-questions@freebsd.org Questions -" <freebsd-questions@freebsd.org>
Subject:   Re: Copying files without scp
Message-ID:  <49DC38FE.20207@isafeelin.org>
In-Reply-To: <49DBDE27.4010300@ibctech.ca>
References:  <49DBDE27.4010300@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Bertrand wrote:
> Hi all,
> 
> To copy data from one server, I normally (always) use scp.
> 
> I'm looking for a method to perform this copy task without the overhead
> of encryption for infrequent, high-volume transfers (hundreds to
> thousands of GB).
> 
> The data will be transferred server-to-server within a private datacentre.
> 
> Can someone recommend a *known good* production quality copy mechanism
> that will act like scp, but without the overhead? rsh? nc?
> 

On the listening end:
cd / ; nc -l 12345 | tar xpvf -

On the sending end:
cd / ; tar cf - /path/file | nc <target ip> 12345

Replace 'x' by 't' on the listening end to verify that it's going to do 
what you would want/expect.


-- Frederique




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49DC38FE.20207>