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=3 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
101
102
103       --insecure-transport[=true]
104           disable transport security for client connections
105
106
107       --keepalive-time=2s
108           keepalive time for client connections
109
110
111       --keepalive-timeout=6s
112           keepalive timeout for client connections
113
114
115       --key=""
116           identify secure client using this TLS key file
117
118
119       --password=""
120           password for authentication (if this option is used, --user option
121       shouldn't include password)
122
123
124       --user=""
125           username[:password] for authentication (prompt if password is not
126       supplied)
127
128
129       -w, --write-out="simple"
130           set the output format (fields, json, protobuf, simple, table)
131
132
133

SEE ALSO

135       etcdctl3-snapshot(1)
136
137
138

HISTORY

140       5-Apr-2020 Auto generated by spf13/cobra
141
142
143
144Auto generated by spf13/cobra      Apr 2020                        etcdctl3(1)
Impressum