1etcdctl3(1)                                                        etcdctl3(1)
2
3
4

NAME

6       etcdctl-snapshot-restore - Restores an etcd member snapshot to an etcd
7       directory
8
9
10

SYNOPSIS

12       etcdctl snapshot restore <filename> [options] [flags]
13
14
15

DESCRIPTION

17       Restores an etcd member snapshot to an etcd directory
18
19
20

OPTIONS

22       --data-dir=""
23           Path to the data directory
24
25
26       -h, --help[=false]
27           help for restore
28
29
30       --initial-advertise-peer-urls=" ⟨http://localhost:2380"⟩
31           List of this member's peer URLs to advertise to the rest of the
32       cluster
33
34
35       --initial-cluster="default= ⟨http://localhost:2380"⟩
36           Initial cluster configuration for restore bootstrap
37
38
39       --initial-cluster-token="etcd-cluster"
40           Initial cluster token for the etcd cluster during restore bootstrap
41
42
43       --name="default"
44           Human-readable name for this member
45
46
47       --skip-hash-check[=false]
48           Ignore snapshot integrity hash value (required if copied from data
49       directory)
50
51
52       --wal-dir=""
53           Path to the WAL directory (use --data-dir if none given)
54
55
56

OPTIONS INHERITED FROM PARENT COMMANDS

58       --cacert=""
59           verify certificates of TLS-enabled secure servers using this CA
60       bundle
61
62
63       --cert=""
64           identify secure client using this TLS certificate file
65
66
67       --command-timeout=5s
68           timeout for short running command (excluding dial timeout)
69
70
71       --debug[=false]
72           enable client-side debug logging
73
74
75       --dial-timeout=2s
76           dial timeout for client connections
77
78
79       -d, --discovery-srv=""
80           domain name to query for SRV records describing cluster endpoints
81
82
83       --discovery-srv-name=""
84           service name to query when using DNS discovery
85
86
87       --endpoints=[127.0.0.1:2379]
88           gRPC endpoints
89
90
91       --hex[=false]
92           print byte strings as hex encoded strings
93
94
95       --insecure-discovery[=true]
96           accept insecure SRV records describing cluster endpoints
97
98
99       --insecure-skip-tls-verify[=false]
100           skip server certificate verification (CAUTION: this option should
101       be enabled only for testing purposes)
102
103
104       --insecure-transport[=true]
105           disable transport security for client connections
106
107
108       --keepalive-time=2s
109           keepalive time for client connections
110
111
112       --keepalive-timeout=6s
113           keepalive timeout for client connections
114
115
116       --key=""
117           identify secure client using this TLS key file
118
119
120       --password=""
121           password for authentication (if this option is used, --user option
122       shouldn't include password)
123
124
125       --user=""
126           username[:password] for authentication (prompt if password is not
127       supplied)
128
129
130       -w, --write-out="simple"
131           set the output format (fields, json, protobuf, simple, table)
132
133
134

SEE ALSO

136       etcdctl2-snapshot(1)
137
138
139

HISTORY

141       4-Sep-2020 Auto generated by spf13/cobra
142
143
144
145Auto generated by spf13/cobra      Sep 2020                        etcdctl3(1)
Impressum