Question about in-place option.

jeremy at jeremysanders.net jeremy at jeremysanders.net
Wed Jun 22 11:02:07 MDT 2011


Mickaël CANÉVET wrote:

> I was wondering if there is a way top specify rsync to replace only
> different block in case of in-place update.
> 
> When I rsync a huge binary file that change often to a Copy-On-Write
> filesystem for backing it up (ZFS in my case, but I suppose that btrfs
> will act the same way) ; rsync replaces the whole file even with
> '--inplace' and so snapshots are inefficient.

Are you doing local copies? You should also use the --no-whole-file option.

I think --inplace would be better if it made the default --no-whole-file for 
local copies.

Jeremy






More information about the rsync mailing list