etcdctl3-snapshot-restore - Man Page
Restores an etcd member snapshot to an etcd directory
Synopsis
ETCDCTL=3 etcdctl snapshot restore <filename> [options] [flags]
Description
Restores an etcd member snapshot to an etcd directory
Options
- --data-dir=""
Path to the data directory
- -h, --help[=false]
help for restore
- --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="etcd-cluster"
Initial cluster token for the etcd cluster during restore bootstrap
- --name="default"
Human-readable name for this member
- --skip-hash-check[=false]
Ignore snapshot integrity hash value (required if copied from data directory)
- --wal-dir=""
Path to the WAL directory (use --data-dir if none given)
Options Inherited from Parent Commands
- --cacert=""
verify certificates of TLS-enabled secure servers using this CA bundle
- --cert=""
identify secure client using this TLS certificate file
- --command-timeout=5s
timeout for short running command (excluding dial timeout)
- --debug[=false]
enable client-side debug logging
- --dial-timeout=2s
dial timeout for client connections
- -d, --discovery-srv=""
domain name to query for SRV records describing cluster endpoints
- --discovery-srv-name=""
service name to query when using DNS discovery
- --endpoints=[127.0.0.1:2379]
gRPC endpoints
- --hex[=false]
print byte strings as hex encoded strings
- --insecure-discovery[=true]
accept insecure SRV records describing cluster endpoints
- --insecure-skip-tls-verify[=false]
skip server certificate verification (CAUTION: this option should be enabled only for testing purposes)
- --insecure-transport[=true]
disable transport security for client connections
- --keepalive-time=2s
keepalive time for client connections
- --keepalive-timeout=6s
keepalive timeout for client connections
- --key=""
identify secure client using this TLS key file
- --password=""
password for authentication (if this option is used, --user option shouldn't include password)
- --user=""
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
History
4-Sep-2020 Auto generated by spf13/cobra