hyperledger fabric backup

单节点架设 Order 网络:
cd ~/go/src/github.com/hyperledger/fabric/examples/e2e_cli/
rm -rf channel-artifacts
scp -r [email protected]:~/go/src/github.com/hyperledger/fabric/examples/e2e_cli/channel-artifacts ~/go/src/github.com/hyperledger/fabric/examples/e2e_cli/
scp -r [email protected]:/home/shy/go/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config ~/go/src/github.com/hyperledger/fabric/examples/e2e_cli/

scp [email protected]:~/go/src/github.com/hyperledger/fabric/examples/e2e_cli/docker-compose-peer.yaml ~/go/src/github.com/hyperledger/fabric/examples/e2e_cli/docker-compose-peer.yaml
vim docker-compose-peer.yaml
scp -r [email protected]:~/go/src/github.com/hyperledger/fabric/examples/e2e_cli/base/docker-compose-base.yaml ~/go/src/github.com/hyperledger/fabric/examples/e2e_cli/base/docker-compose-base.yaml

docker-compose -f docker-compose-peer.yaml up -d docker exec -it cli bash

相关文章
相关标签/搜索