Ver Fonte

resolve clarify borg check --verify-data (#5808)

James Buren há 4 anos atrás
pai
commit
4f9e30e980
2 ficheiros alterados com 8 adições e 0 exclusões
  1. 4 0
      docs/usage/check.rst.inc
  2. 4 0
      src/borg/archiver.py

+ 4 - 0
docs/usage/check.rst.inc

@@ -125,6 +125,10 @@ Second, the consistency and correctness of the archive metadata is verified:
 - In repair mode, when all the archives were checked, orphaned chunks are deleted
 - In repair mode, when all the archives were checked, orphaned chunks are deleted
   from the repo. One cause of orphaned chunks are input file related errors (like
   from the repo. One cause of orphaned chunks are input file related errors (like
   read errors) in the archive creation process.
   read errors) in the archive creation process.
+- In verify-data mode, a complete cryptographic verification of the archive data
+  integrity is performed. This conflicts with ``--repository-only`` as this mode
+  only makes sense if the archive checks are enabled. The full details of this mode
+  are documented below.
 - If checking a remote repo via ``ssh:``, the archive check is executed on the
 - If checking a remote repo via ``ssh:``, the archive check is executed on the
   client machine because it requires decryption, and this is always done client-side
   client machine because it requires decryption, and this is always done client-side
   as key access is needed.
   as key access is needed.

+ 4 - 0
src/borg/archiver.py

@@ -3072,6 +3072,10 @@ class Archiver:
         - In repair mode, when all the archives were checked, orphaned chunks are deleted
         - In repair mode, when all the archives were checked, orphaned chunks are deleted
           from the repo. One cause of orphaned chunks are input file related errors (like
           from the repo. One cause of orphaned chunks are input file related errors (like
           read errors) in the archive creation process.
           read errors) in the archive creation process.
+        - In verify-data mode, a complete cryptographic verification of the archive data
+          integrity is performed. This conflicts with ``--repository-only`` as this mode
+          only makes sense if the archive checks are enabled. The full details of this mode
+          are documented below.
         - If checking a remote repo via ``ssh:``, the archive check is executed on the
         - If checking a remote repo via ``ssh:``, the archive check is executed on the
           client machine because it requires decryption, and this is always done client-side
           client machine because it requires decryption, and this is always done client-side
           as key access is needed.
           as key access is needed.