mirror of
https://github.com/restic/restic.git
synced 2026-07-01 13:04:18 +00:00
restic check and restic repair packs: treat missing packfiles the same as damaged and truncated packfiles (#21845)
Co-authored-by: Michael Eischer <michael.eischer@fau.de>
This commit is contained in:
committed by
GitHub
parent
e4056e70a8
commit
75de8b54e6
@@ -80,7 +80,7 @@ Similarly, if a repository is repeatedly damaged, please open an `issue on GitHu
|
||||
somewhere. Please include the check output and additional information that might
|
||||
help locate the problem.
|
||||
|
||||
If ``check`` detects damaged pack files, it will show instructions on how to repair
|
||||
When ``restic check`` detects damaged or missing packfiles, it will show instructions on how to repair
|
||||
them using the ``repair packs`` command. Use that command instead of the "Repairing the
|
||||
index" section in this guide.
|
||||
|
||||
@@ -88,7 +88,7 @@ If ``check`` detects unreadable snapshot files, it will show instructions on how
|
||||
them using the ``repair snapshots`` command. Follow those instructions as part of the
|
||||
"Removing broken snapshots" section in this guide.
|
||||
|
||||
If you are interested to check only specific snapshots, you can now
|
||||
If you are interested to check only specific snapshots, you can
|
||||
use the standard snapshot filter method specifying ``--host``, ``--path``, ``--tag`` or
|
||||
alternatively naming snapshot ID(s) explicitly. The selected subset of packfiles
|
||||
will then be checked for consistency and read when either ``--read-data`` or
|
||||
|
||||
Reference in New Issue
Block a user