etcdctl3-snapshot-restore man page

etcdctl-snapshot-restore — Restores an etcd member snapshot to an etcd directory


ETCDCTL=3 etcdctl snapshot restore [Options]


Restores an etcd member snapshot to an etcd directory



Path to the data directory

--initial-advertise-peer-urls=" ⟨http://localhost:2380"⟩

List of this member's peer URLs to advertise to the rest of the cluster

--initial-cluster="default= ⟨http://localhost:2380"⟩

Initial cluster configuration for restore bootstrap


Initial cluster token for the etcd cluster during restore bootstrap


Human-readable name for this member


Ignore snapshot integrity hash value (required if copied from data directory)

Options Inherited from Parent Commands


verify certificates of TLS-enabled secure servers using this CA bundle


identify secure client using this TLS certificate file


timeout for short running command (excluding dial timeout)


enable client-side debug logging


dial timeout for client connections


gRPC endpoints


print byte strings as hex encoded strings


skip server certificate verification


disable transport security for client connections


identify secure client using this TLS key file


username[:password] for authentication (prompt if password is not supplied)

-w, --write-out="simple"

set the output format (fields, json, protobuf, simple, table)

See Also



9-Mar-2018 Auto generated by spf13/cobra

Referenced By


Mar 2018 Auto generated by spf13/cobra