[Borgbackup] Change repository id

Joseph Hesse joehesse at gmail.com
Mon Dec 9 04:31:01 EST 2019


Suppose I have two distinct repositories, say repo1 and repo2, as 
described in the Borg 1.1.10 FAQ.  Again suppose that whenever I do a 
"borg create" on one repo1 I do the same on repo2.  If one of the repos 
dies, say repo1 because of a hardware failure, I only have one repo with 
all my archives.

In an attempt to get back two repos, I get new hardware and copy the 
contents of repo2 to the new hardware.  For good measure I delete the 
cache on my local computer.  According to the FAQ, there would be data 
loss since both repos now have the same ID. Can I change the repo ID on 
the new hardware?  How do I proceed from here to get back to two 
distinct repositories?

Thank you,

Joe



More information about the Borgbackup mailing list