check: Adjust help and documentation for check --read-data-subset

This commit is contained in:
Leo R. Lundgren committed 2022-03-26 00:11:04 +01:00
1 parent 6087c4ad75
commit c7d637ec39
3 files changed
+29 -30

No files matched your search

+5 -6
View File
@@ -1,9 +1,8 @@
Enhancement: Support for specifying file size in `check --read-data-subset`
Enhancement: Support random subset by size in `check --read-data-subset`
To check a subset of repository files, the `check --read-data-subset` command
used to support two ways to select a subset - A specific range of pack files,
or random percentage of pack files. We have added a third method to select pack
files - By specifying file size. This new option is available with the 'restic check' command.
The `--read-data-subset` option of the `check` command now supports a third way
of specifying the subset to check, namely `nS` where `n` is a size in bytes with
suffix `S` as k/K, m/M, g/G or t/T.
https://github.com/restic/restic/issues/3490
https://github.com/restic/restic/pull/3548
https://github.com/restic/restic/pull/3548