Skip to content

Commit

Permalink
Merge pull request #5862 from braewoods/verify_data
Browse files Browse the repository at this point in the history
resolve clarify borg check --verify-data (#5808)
  • Loading branch information
ThomasWaldmann authored Jun 19, 2021
2 parents 9d59255 + 1219a84 commit baed733
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/usage/check.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,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
from the repo. One cause of orphaned chunks are input file related errors (like
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
client machine because it requires decryption, and this is always done client-side
as key access is needed.
Expand Down
4 changes: 4 additions & 0 deletions src/borg/archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -3132,6 +3132,10 @@ def define_archive_filters_group(subparser, *, sort_by=True, first_last=True):
- 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
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
client machine because it requires decryption, and this is always done client-side
as key access is needed.
Expand Down

0 comments on commit baed733

Please sign in to comment.