Skip to content

Commit

Permalink
change name
Browse files Browse the repository at this point in the history
  • Loading branch information
tikrnews committed Sep 10, 2022
1 parent a332770 commit 437c1cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

#### 备份,只需要单节点执行
```shell
etcd-tool export \
etcd-json-converter export \
--endpoint=10.10.0.3:2379,10.10.0.4:2379,10.10.0.5:2379 \
--file=/tmp/output.json
```

```shell
etcd-tool export \
etcd-json-converter export \
--endpoint=10.10.0.3:2379,10.10.0.4:2379,10.10.0.5:2379 \
--limit=0 --prefix=/your/prefix \
--file=/tmp/output.json
```

#### 还原,只需要单节点执行
```shell
etcd-tool import \
etcd-json-converter import \
--endpoint=10.10.0.3:2379,10.10.0.4:2379,10.10.0.5:2379 \
--file=/tmp/input.json
```
Expand Down

0 comments on commit 437c1cb

Please sign in to comment.