mirror of
https://github.com/restic/restic.git
synced 2024-12-22 07:43:03 +00:00
check: clarify repair pack usage
This commit is contained in:
parent
527a3ff2b2
commit
69304cd74f
1 changed files with 8 additions and 1 deletions
|
@ -77,7 +77,9 @@ 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
|
||||
them. Please follow the steps from the next section first.
|
||||
them using the ``repair pack`` command. Use that command instead of the "Repair the
|
||||
index" section in this guide.
|
||||
|
||||
|
||||
2. Backup the repository
|
||||
************************
|
||||
|
@ -106,6 +108,11 @@ whether your issue is already known and solved. Please take a look at the
|
|||
3. Repair the index
|
||||
*******************
|
||||
|
||||
.. note::
|
||||
|
||||
If the `check` command tells you to run `restic repair pack`, then use that
|
||||
command instead. It will repair the damaged pack files and also update the index.
|
||||
|
||||
Restic relies on its index to contain correct information about what data is
|
||||
stored in the repository. Thus, the first step to repair a repository is to
|
||||
repair the index:
|
||||
|
|
Loading…
Reference in a new issue