rsync mystery

Karl Larsen k5di at zianet.com
Tue May 20 12:21:02 UTC 2008


Owen Townend wrote:
> On 20/05/2008, Karl Larsen <k5di at zianet.com> wrote:
>   
>> Karl Larsen wrote:
>>
>>     More and more interesting. I checked my regular backup and it is 2.9
>>  GB. This is close to the 2.87 GB I really have now. I am using rsync
>>  -avz /usr /media/disk and there are like 8 of these.
>>
>>
>>  Karl
>>     
>
> Hey,
>   Slightly tangential, but why are you using the -z switch for a local rsync?
>   This option is for compressing during transmission and has no effect
> on the resulting backup's size. Using it for a local backup wastes a
> lot of cpu time compressing and expanding each file.
>
> cheers,
> Owen.
>
>   
    Since I was told about switch's for rsync I have stopped using the z 
and added -SH which seems to keep rsync from filling empty spaces with 
0's and other things.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list