[Borgbackup] Determine if a chunk should be added to repository

Marian Beermann public at enkore.de
Sun Nov 17 12:27:06 EST 2019


No. Borg uses content-addressed storage and does not handle hash
collisions. That's why Borg uses a 256 bit cryptographic hash
(HMAC-SHA2, BLAKE2).

-Marian

Am 17.11.19 um 18:05 schrieb Joseph Hesse:
> Hi,
> 
> I've been reading all I can find about Deduplication.  The explanations
> say that hashes are used to determine if two chunks are identical or
> different.  Even though it is very rare, two chunks can have the same
> hash and be different.  So if chunk1's hash matches the hash of some
> chunk in the repository, it seems to me that a byte-by-byte comparison
> has to be done before deciding whether chunk1 should not be added to the
> repository.  Is this the case with Borg?
> 
> Thank you,
> 
> Joe
> 
> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org
> https://mail.python.org/mailman/listinfo/borgbackup



More information about the Borgbackup mailing list