Replies: 4 comments 5 replies
-
Let me answer the 2nd question first: You will need 2x borg check --repair:
|
Beta Was this translation helpful? Give feedback.
-
1st question: borg check --repair has 2 parts:
In general, if you are interested in borg giving you a lot of details, use |
Beta Was this translation helpful? Give feedback.
-
Thanks. Ran some tests in a VM with Borg v1.4.0 (standalone binary) to observe the behavior. Setup:
Test results (all using the
|
Beta Was this translation helpful? Give feedback.
-
Since this is a continuation of some related testing just thought I'd note here for anyone interested some unexpected behavior from I found that after Steps:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just had some questions about in practical terms the process of a user detecting corrupted files (on the backup side that is) and then restoring known-good copies back to a Borg archive.
Does
check
with--verify-data
surface to the user which user files were detected as part of a chunk having a checksum mismatch (ie: corrupted) or does it only surface which chunks in the archive files are affected? Wondering how aware the user can be made about which files they should replace with backup copies.If a user were able to determine which files were corrupted and add them back to the source data and then trigger a Borg backup it reads from the docs that
--repair
can 'self-heal' any chunks zeroed (marked as corrupted) from a prior--repair
as Borg keeps the prior known-good checksums for data of those the zeroed chunks.--repair
hasn't been used previously (and thus hasn't had a chance to zero-out corrupted chunks) but a user has been made aware of corruption viacheck
and added known-good files back to the source data, then runs a backup, and subsequently runs--repair
? Does repair recognize and 'heal' the affected corrupted chunks in one operation in such a case?Edit: replaced use of 'data files' with 'user files' to avoid being confused with an archive's
data
directory.Beta Was this translation helpful? Give feedback.
All reactions