diff --git a/changelog/unreleased/issue-3326 b/changelog/unreleased/issue-3326 index 771c3e370..a661dba3b 100644 --- a/changelog/unreleased/issue-3326 +++ b/changelog/unreleased/issue-3326 @@ -1,8 +1,8 @@ -check: enable --read-data-subset and --read-data for specified snapshot(s) +Enhancement: enable --read-data-subset and --read-data for specified snapshot(s) -When snapshots are specified on the command line, the metadata for these -snapshots will be read and a set of packfiles will be created representing the data -parts of these snapshots. +Snapshots can now be specified on the command line via the standard snapshot filter, +(`--tag`, `--host`, `--path` or specifying snapshot IDs directly) and will be used +for checking the packfiles used by these snapshots. https://github.com/restic/restic/issues/3326 https://github.com/restic/restic/pull/5213 diff --git a/doc/077_troubleshooting.rst b/doc/077_troubleshooting.rst index 36c9d63ec..7fb012dfa 100644 --- a/doc/077_troubleshooting.rst +++ b/doc/077_troubleshooting.rst @@ -82,6 +82,12 @@ If ``check`` detects damaged pack files, it will show instructions on how to rep them using the ``repair pack`` command. Use that command instead of the "Repair the index" section in this guide. +If you are interested to check the repository via snapshots, you can now +use the standard snapshot filter method specifying ``--host``, ``--path``, ``--tag`` or +alternatively naming snapshot ID(s) explicitely. The selected subset of packfiles +will then be read to disk and checked for consistency +when either ``--read-data`` or ``--read-data-subset`` is given. + 2. Backup the repository ************************