Example with data dir for restore
This commit is contained in:
@@ -325,6 +325,10 @@ Here is an example:
|
|||||||
```shell
|
```shell
|
||||||
ETCDCTL_API=3 etcdctl --endpoints 10.2.0.9:2379 snapshot restore snapshotdb
|
ETCDCTL_API=3 etcdctl --endpoints 10.2.0.9:2379 snapshot restore snapshotdb
|
||||||
```
|
```
|
||||||
|
Another example for restoring using etcdutl options:
|
||||||
|
```shell
|
||||||
|
ETCDCTL_API=3 etcdutl --data-dir <data-dir-location> snapshot restore snapshotdb
|
||||||
|
```
|
||||||
|
|
||||||
For more information and examples on restoring a cluster from a snapshot file, see
|
For more information and examples on restoring a cluster from a snapshot file, see
|
||||||
[etcd disaster recovery documentation](https://etcd.io/docs/current/op-guide/recovery/#restoring-a-cluster).
|
[etcd disaster recovery documentation](https://etcd.io/docs/current/op-guide/recovery/#restoring-a-cluster).
|
||||||
|
|||||||
Reference in New Issue
Block a user