In the last episode (Jun 23), Nikolas Britton said:
> I need to backup the /data directory on hostA to /data on hostB,
> about 1TB of data on a gigabit link. Right now I'm using scp but the
> handshake latency and ssh overhead is killing me.
> 
> I've looked at many examples of tar|rsh tar and I can't figure it out,
> most of the examples on the net look like this:
> # tar cf - . | rsh hostname dd of=tape-device obs=20b
> # tar -cf -...|rsh ...tar xf -...

Two quick options even more lightweight than rsh are netcat (base
system) and ttcp (in ports).  Usage examples:

host2$ ttcp -r | tar xvf -
host1$ tar cf - . | ttcp -t host2

host2$ nc -l 1234 | tar xvf -
host1$ tar cf - . | nc host2 1234

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to