Question about in-place option.

Mickaël CANÉVET canevet at embl.fr
Thu Jun 23 00:53:15 MDT 2011


Hi,

Thank you very much, it's working with --inplace --no-whole-file.
Now snapshots of a 15GB database backup only takes a few kilobytes a day
instead of 15GB.

Mickaël

On Wed, 2011-06-22 at 18:02 +0100, jeremy at jeremysanders.net wrote:
> 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
> 
> 
> 
> 
> -- 
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/rsync/attachments/20110623/e1f85ad7/attachment.pgp>


More information about the rsync mailing list