One-step tarring/scp (was Re: [ale] hardware to back up a Dell laptop)

James P. Kinney III jkinney at localnetsolutions.com
Wed Jan 9 22:40:39 EST 2008


On Wed, 2008-01-09 at 18:13 -0500, Jim Popovitch wrote:

>         
>         rsync -e ssh -r -C localdir user at remote:dir
> 
> Redundant!!! :-)  rsync will favor using ssh these days, no -e ...
> necessary. ;-)
> 
Cool! I thought it was odd that the default was rsh given the state of
data security lately. 

OK. I just _read_ the man page and yes, ssh is the default shell with -e
foo the flag for choice. So the -e ssh is just a carryover from old
habits. I have many. Most involve beer. Explicitly listing ssh probably
is not too bad all thing considered :) But my typing load was just
lessened by this new knowledge so I have more time for beer :) 
> 
>         But an rsync on the initial transfer is actually SLOWER than a
>         plain
>         tarball transfer. Each 1k block is checked and found to be
>         missing and
>         then transferred, repeat ad nauseum.
> 
> Ahhh, but rsync *can* pickup where it left off, whereas tar+ssh
> becomes a pain when there is a network blip after 80GB have transfered
> and only 2GB remain. ;-) 

And _THAT_ is when rsync is your friend.

Hmm. I wonder if "curl -C" could be used instead of ssh since it can
pickup a failed transfer at the drop point...

Something to test later.
> 
> -Jim P.
> 
> 
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by MailScanner, and is 
> believed to be clean. 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC        
770-493-8244                    
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Ale mailing list