1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-09 00:00:02 +01:00

check - rebase part 3 - add documentation and file issue-3326

add documentation for checking via snapshot filter.

cmd_check: change 1st line of issue-3326 to recognized format.

check with snapshot filter: changed issue description
This commit is contained in:
Winfried Plappert 2025-02-05 17:35:25 +00:00
parent 5e11147311
commit 3b05529334
2 changed files with 10 additions and 4 deletions

View file

@ -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

View file

@ -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
************************