瀏覽代碼

update help about healing

Thomas Waldmann 9 年之前
父節點
當前提交
403cdd597b
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      borg/archiver.py

+ 6 - 3
borg/archiver.py

@@ -973,9 +973,12 @@ class Archiver:
         - Check if archive metadata chunk is present. if not, remove archive from
         - Check if archive metadata chunk is present. if not, remove archive from
           manifest.
           manifest.
         - For all files (items) in the archive, for all chunks referenced by these
         - For all files (items) in the archive, for all chunks referenced by these
-          files, check if chunk is present (if not and we are in repair mode, replace
-          it with a same-size chunk of zeros). This requires reading of archive and
-          file metadata, but not data.
+          files, check if chunk is present.
+          If a chunk is not present and we are in repair mode, replace it with a same-size
+          replacement chunk of zeros.
+          If a previously lost chunk reappears (e.g. via a later backup) and we are in
+          repair mode, the all-zero replacement chunk will be replaced by the correct chunk.
+          This requires reading of archive and file metadata, but not data.
         - If we are in repair mode and we checked all the archives: delete orphaned
         - If we are in repair mode and we checked all the archives: delete orphaned
           chunks from the repo.
           chunks from the repo.
         - if you use a remote repo server via ssh:, the archive check is executed on
         - if you use a remote repo server via ssh:, the archive check is executed on