duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] --max-blocksize?


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] --max-blocksize?
Date: Sun, 19 Oct 2014 11:05:47 -0500

Remy,

Sorry about not getting back to you sooner...

max_blocksize determines the size of the block examined for changes during the diff process.  For files < 1MB the blocksize is a constant of 512.  For files over 1MB the size is given by:

        file_blocksize = int((file_len / (2000 * 512)) * 512)
        return min(file_blocksize, globals.max_blocksize)

where globals.max_blocksize is defaulted to 2048.  If you specify a larger max_blocksize, your difftar files will be larger, but your sigtar files will be smaller.  If you specify a smaller max_blocksize, the reverse occurs.  The --max-blocksize option should be in multiples of 512.

...Thanks,
...Ken


On Wed, Oct 1, 2014 at 2:51 PM, Remy van Elst <address@hidden> wrote:
duplicity --help shows me the following option:

  --max-blocksize=number

What does it do and in what unit is the "number"? I can only find a
launchpad ticket for large files, the man page on the website does not
list this option. Is there any more info?

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]