SUMMARY:taring to a remote node

From: Leonard, Roger (rleonard@cvty.com)
Date: Mon Aug 23 1999 - 13:51:47 CDT


My question was:

I need to copy filesystems from one node to another across a WAN link. I am
using
tar -cvphf - . | remsh remotehost "(cd /remote_dir ; tar xvphf - )"
which works fine, but I would like to incorporate some compression in there
because it is about 15GB of data and is taking forever. I am brain-freezing
on this. Any ideas?

I missed the -c flag in the man page for compress so I was having problems.
The overwhelming response, first from Russ Poffenberger was:

tar -cvphf - . | compress -c | remsh remotehost "(cd /remote_dir ;
uncompress -c | tar xvphf - )"

The -c flag compresses to standard out, which is exactly what I needed.
Several people suggested a combination of gnutar and gzip but this is handy
and appears to be about 5 times as fast as uncompressed. Thanks for all the
responses.

Roger D. Leonard
Roger D. Leonard
Unix Systems Engineer
HealthAmerica, Pgh PA
rleonard@cvty.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:25 CDT