Update Consul部署说明.md
parent
ad13964050
commit
c1a6e9ffb2
|
@ -55,3 +55,9 @@ echo 13 > acl-bootstrap-reset
|
||||||
# 重新创建一个global-management Token
|
# 重新创建一个global-management Token
|
||||||
consul acl bootstrap
|
consul acl bootstrap
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### consul kv 备份还原
|
||||||
|
```
|
||||||
|
consul kv export --http-addr=http://127.0.0.1:8500 -token=admin-token '' > consul_kv_bak.json
|
||||||
|
consul kv import --http-addr=http://127.0.0.1:8500 -token=admin-token @consul_kv_bak.json
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue