Browse Source

Update Consul部署说明.md

pull/72/head
StarsL.cn 2 years ago committed by GitHub
parent
commit
9286c33136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/Consul部署说明.md

4
docs/Consul部署说明.md

@ -58,6 +58,6 @@ consul acl bootstrap
### consul kv 备份还原
```
consul kv export --http-addr=http://127.0.0.1:8500 -token=管理员token '' > consul_kv_bak.json
consul kv import --http-addr=http://127.0.0.1:8500 -token=管理员token @consul_kv_bak.json
consul kv export --http-addr=http://127.0.0.1:8500 -token=xxxxxxxx '' > consul_kv_bak.json
consul kv import --http-addr=http://127.0.0.1:8500 -token=xxxxxxxx @consul_kv_bak.json
```

Loading…
Cancel
Save