Skip to content

Commit 3f824a8

Browse files
authored
Merge pull request #28601 from RA489/update_etcd
Example with data dir for restore
2 parents 15235d6 + c689362 commit 3f824a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,10 @@ Here is an example:
325325
```shell
326326
ETCDCTL_API=3 etcdctl --endpoints 10.2.0.9:2379 snapshot restore snapshotdb
327327
```
328+
Another example for restoring using etcdutl options:
329+
```shell
330+
ETCDCTL_API=3 etcdutl --data-dir <data-dir-location> snapshot restore snapshotdb
331+
```
328332

329333
For more information and examples on restoring a cluster from a snapshot file, see
330334
[etcd disaster recovery documentation](https://etcd.io/docs/current/op-guide/recovery/#restoring-a-cluster).

0 commit comments

Comments
 (0)