From 20218117e2afb9254c0eba673f2828a6c57bffd3 Mon Sep 17 00:00:00 2001 From: spawulski Date: Tue, 7 Nov 2023 17:19:04 -0600 Subject: [PATCH] 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 --- etcdutl/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etcdutl/README.md b/etcdutl/README.md index 6943a047858..f4a959140ae 100644 --- a/etcdutl/README.md +++ b/etcdutl/README.md @@ -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.