Let's hypothetically I ran an errant dd command on the disk holding my repo, in such a way that after salvaging what was possible, a borg check --repair can't even complete:
Data integrity error: Invalid segment entry size 0 - too small [segment 56971, offset 110112635]
Deleting the index file and running --repair --repository-only gives the following:
Data integrity error: Invalid segment magic [segment 51735, offset 0]
What options do I have?
If the repo has to be written off, is it possible to repair it using a second repo that has largely been back up to with the same settings (I use borgmatic pointing to two repos). Is the most straightforward way just to copy the good repo over?
Let's hypothetically I ran an errant
ddcommand on the disk holding my repo, in such a way that after salvaging what was possible, aborg check --repaircan't even complete:Deleting the index file and running
--repair --repository-onlygives the following:What options do I have?
If the repo has to be written off, is it possible to repair it using a second repo that has largely been back up to with the same settings (I use
borgmaticpointing to two repos). Is the most straightforward way just to copy the good repo over?