【问题标题】:Hyperledger Fabric - backup and restoreHyperledger Fabric - 备份和恢复
【发布时间】:2020-06-24 18:04:56
【问题描述】:

我正在使用 Hyperledger Fabric,现在我正在尝试备份当前情况并在另一台计算机上恢复它。

我正在按照hyperledger-fabric-backup-and-restore 中的程序进行操作。 主要步骤是:

  1. 复制 crypto-config 和 channel-artifacts 目录
  2. 复制所有 peer 和 orderer 容器的内容
  3. 修改 docker-compose.yaml 以将容器卷链接到我拥有备份副本的本地目录。

但在我的情况下它无法正常工作:当我使用 ./byfn.hs up 重新启动网络时,我首先让所有容器正确启动并运行,然后无论我尝试在通道上执行什么操作(peer channel createpeer 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


    【解决方案1】:

    我在尝试创建频道时遇到了同样的错误。关闭“network down”然后“network up”解决了我的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-14
      • 2011-07-02
      • 2021-08-14
      • 2014-07-24
      • 2013-12-03
      • 2019-06-30
      • 2014-08-10
      • 1970-01-01
      相关资源
      最近更新 更多