Re: Recent writing about dar

John Goerzen <[email protected]> Wed, 28 Jun 2023 06:52:58 -0500
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On Wed, Jun 28 2023, Denis Corbin wrote:

> [[PGP Signed Part:Undecided]]
>
>
> On 28/06/2023 05:53, John Goerzen wrote:
>> On Mon, Jun 26 2023, Denis Corbin wrote:
>>
>>>
>
> [...]
>
>> Interestingly, in one test case involving a detached catalog about 500K
>> in size, doing it this way produced a catalog a few KB larger than the
>> one produced via the piping method I originally documented.  Not an
>> issue for me, but I thought it was a bit odd though.
>
> is it the same compression algorithm and level used (if any)? Same encryption
> protocol used (if any)?

No encryption, and --compression=zstd for both.

Command A:

dar --create - \
  --fs-root /tmp/test \
  --delta sig \
  | dar --sequential-read \
    --ref - \
    --isolate /tmp/destmeta \
    --compression=zstd \
    --delta sig

Command B:

dar --create /tmp/destmeta \
  --fs-root /tmp/test \
  --delta sig \
  --compression=zstd \
  --ref +

Thanks,

John