【发布时间】:2020-06-24 18:04:56
【问题描述】:
我正在使用 Hyperledger Fabric,现在我正在尝试备份当前情况并在另一台计算机上恢复它。
我正在按照hyperledger-fabric-backup-and-restore 中的程序进行操作。 主要步骤是:
- 复制 crypto-config 和 channel-artifacts 目录
- 复制所有 peer 和 orderer 容器的内容
- 修改 docker-compose.yaml 以将容器卷链接到我拥有备份副本的本地目录。
但在我的情况下它无法正常工作:当我使用 ./byfn.hs up 重新启动网络时,我首先让所有容器正确启动并运行,然后无论我尝试在通道上执行什么操作(peer channel create、peer channel join , peer channel update) 失败并出现错误:
Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'mychannel': error authorizing update: error validating ReadSet: proposed update requires that key [Group] /Channel/Application be at version 0, but it is currently at version 1
有什么我应该做的,而hyperledger-fabric-backup-and-restore 上没有提到吗?
【问题讨论】:
标签: backup hyperledger-fabric restore