From b0c1d0f9cd38b906b2e11428191b96549cd91f06 Mon Sep 17 00:00:00 2001 From: Florian Kusche Date: Sun, 9 Jan 2022 11:45:03 +0100 Subject: [PATCH 1/2] Update documentation regarding unreferenced packs Also removes an unnecessary space at the end of the last line. --- doc/faq.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/faq.rst b/doc/faq.rst index 55866306c..c461ffd33 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -49,9 +49,9 @@ looks like this: Fatal: repository contains errors The message means that there is more data stored in the repo than -strictly necessary. With high probability this is duplicate data. In -order to clean it up, the command ``restic prune`` can be used. The -cause of this bug is not yet known. +strictly necessary. This is uncritical. With high probability this is duplicate data +caused by an interrupted backup run or upload operation. In +order to clean it up, the command ``restic prune`` can be used. I ran a ``restic`` command but it is not working as intended, what do I do now? ------------------------------------------------------------------------------- @@ -224,4 +224,4 @@ Restic backup command fails to find a valid file in Windows ----------------------------------------------------------- If the name of a file in Windows contains an invalid character, Restic will not be -able to read the file. To solve this issue, consider renaming the particular file. +able to read the file. To solve this issue, consider renaming the particular file. From 6183d0be534d687b68d8c619b80305ac56e0a7fa Mon Sep 17 00:00:00 2001 From: Florian Kusche Date: Sun, 16 Jan 2022 12:34:20 +0100 Subject: [PATCH 2/2] Update output of restic check --- doc/faq.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/faq.rst b/doc/faq.rst index c461ffd33..bad55708c 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -40,13 +40,16 @@ looks like this: :: $ restic check - Create exclusive lock for repository - Load indexes - Check all packs + create exclusive lock for repository + load indexes + check all packs pack 819a9a52e4f51230afa89aefbf90df37fb70996337ae57e6f7a822959206a85e: not referenced in any index pack de299e69fb075354a3775b6b045d152387201f1cdc229c31d1caa34c3b340141: not referenced in any index - Check snapshots, trees and blobs - Fatal: repository contains errors + 2 additional files were found in the repo, which likely contain duplicate data. + You can run `restic prune` to correct this. + check snapshots, trees and blobs + [0:00] 100.00% 16 / 16 snapshots + no errors were found The message means that there is more data stored in the repo than strictly necessary. This is uncritical. With high probability this is duplicate data