RE: ** ssh to copy/ftp files with compress

From: Mark W. Farnham <mwf_at_rsiz.com>
Date: Thu, 25 Feb 2010 11:31:43 -0500
Message-ID: <DB2D4F9552034FE4922C42D140521AFB_at_rsiz.com>



Is that comparison with or without the -C flag on scp?  

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Denis
Sent: Wednesday, February 24, 2010 11:27 PM To: oracle-l_at_freelists.org
Subject: Re: ** ssh to copy/ftp files with compress  

I usually find the following (executed at the target server) is able to transfer a file much faster than directly scp. However, gzip will consume some CPU.  

ssh2 source_server 'cat ${FNAME}| gzip -c' | gunzip -c > ${FILELOC}/${FNAME}

Yu "Denis" Sun

Oracle DBA

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of A Joshi Sent: Wednesday, February 24, 2010 1:38 AM To: oracle-l_at_freelists.org
Subject: ** ssh to copy/ftp files with compress

hi,
  can someone give example for ssh to copy/ftp files with compress across servers. i did find some eg on net

scp [-Cr] /some/file [ more ... ] host.name <http://host.name/> :/destination/file and -C is
for compress - will this use compress? is there a way to use gzip and tell degree of compress. any other suggestion.our network is very slow. thanks.        

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 25 2010 - 10:31:43 CST

Original text of this message