README.md: Add documentation for new snapshot restore flags

the bump-revision and mark-compated flags were added to `snapshot restore` and required documentation.

Signed off by Stephen Pawulski spawulski@gmail.com

Signed-off-by: spawulski <spawulski@lotlinx.com>
This commit is contained in:
spawulski
2023-11-07 17:19:04 -06:00
parent 7e00a1e42b
commit 20218117e2

View File

@ -59,6 +59,10 @@ The snapshot restore options closely resemble to those used in the `etcd` comman
- skip-hash-check -- Ignore snapshot integrity hash value (required if copied from data directory)
- bump-revision -- How much to increase the latest revision after restore
- mark-compacted -- Mark the latest revision after restore as the point of scheduled compaction (required if --bump-revision > 0, disallowed otherwise)
#### Output
A new etcd data directory initialized with the snapshot.