mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctlv3: updated snapshot restore options
This commit is contained in:
parent
0604fccfea
commit
05175480b3
@ -762,6 +762,8 @@ The snapshot restore options closely resemble to those used in the `etcd` comman
|
|||||||
|
|
||||||
- name -- Human-readable name for the etcd cluster member being restored.
|
- name -- Human-readable name for the etcd cluster member being restored.
|
||||||
|
|
||||||
|
- skip-hash-check -- Ignore snapshot integrity hash value (required if copied from data directory)
|
||||||
|
|
||||||
#### Return value
|
#### Return value
|
||||||
|
|
||||||
- On success, a new etcd data directory is initialized.
|
- On success, a new etcd data directory is initialized.
|
||||||
|
@ -91,7 +91,7 @@ The items in the lists are hash, revision, total keys, total size.
|
|||||||
|
|
||||||
func NewSnapshotRestoreCommand() *cobra.Command {
|
func NewSnapshotRestoreCommand() *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "restore <filename>",
|
Use: "restore <filename> [options]",
|
||||||
Short: "Restores an etcd member snapshot to an etcd directory",
|
Short: "Restores an etcd member snapshot to an etcd directory",
|
||||||
Run: snapshotRestoreCommandFunc,
|
Run: snapshotRestoreCommandFunc,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user