Update Consul部署说明.md

pull/72/head
StarsL.cn 2023-02-28 10:25:16 +08:00 committed by GitHub
parent 1dd22a97b8
commit 9286c33136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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
```