[Borgbackup] Problem: multiple repos with same ID

Thomas Waldmann tw at waldmann-edv.de
Thu Jul 20 07:43:07 EDT 2023


> I have two separate but identical repositories backed up separately, as
> suggested in the Borg documentation.

If you ran "borg init" for each of them, then they are not identical, 
but each has a different repository id, which borg uses to differentiate 
between repos (so each repo has a different cache and security 
directory), even if they are located at the same path (mountpoint).

> Both repositories are then backed up to another local usb hard drive
> (sdb), using rsync.

By doing that (which is NOT recommended by the docs), you create borg 
repos with identical IDs and borg can not differentiate between them any 
more (and might get confused and give such messages as seen in the subject).

Additionally, IF you would back up to multiple of them using borg (and 
not just always rsyncing), you'ld additionally create crypto security 
issues.

BTW, sda and sdb are not necessarily stable names, linux could decide to 
just swap them (or use sdc, ...). If you want stable names, always use 
some (U)UID.


> They also have different entries in the "manifest-timestamp" files.

You could try removing that one.


More information about the Borgbackup mailing list