Re: Default for --delta

Denis Corbin <[email protected]> Thu, 13 Jul 2023 17:42:58 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 12/07/2023 05:20, John Goerzen wrote:
> Hi,
> 
> One last item for today :-)
> 
> I was observing larger-than-expected delta signature sizes for some
> files.  I went looking for why, and came across the fixed block size in
> the manpage.
> 
> Per
> https://unix.stackexchange.com/questions/539169/what-is-default-block-size-in-rsync
> , I believe that this would give approximately the same block sizes as
> rsync uses:
> 
> --delta sig:square2:1:1:700:131072

correct, dar efault is --delta sig:fixed:RS_DEFAULT_BLOCK_LEN (fixed 
block size, thus many blocks for large files).

> I wonder if this might be a future default? 

Yes, your suggestion makes sense, as it is the way rsync behaves, it 
will also drive less user surprises and interrogations doing so ;)

> Or perhaps documented in
> the manpage?  This would avoid having exceptionally large delta
> signatures for things like multi-GB video files and such. >
> Thanks!
> 
> - John
> 

Thanks to you!
Denis
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed