Skip to content

This Repository illustrates how to backup and restore Hyperledger Fabric network.

License

Notifications You must be signed in to change notification settings

Salmandabbakuti/hlf-backup-restore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backup and Restore Hyperledger Fabric Network

Backup Files

  1. Crypto certificates of all participants (crypto-config directory)

2.Channel and genesis Configuration files (config directory)

  1. Peer file system (can be found in peer container /var/hyperledger/production/ )

  2. Orderer file system(can be found in /var/hyperledger/production/orderer/ )

If we could mount these files in exact locations as they are in previously, we are done. That all We've done in backup.sh and restore.sh..

Quick Test

cd client 
cd ./start.sh #Run Some Normal operations
cd ..
cd basic-network
./backup.sh # Takes backup of current state

./restore.sh #Restores network to the backup state

About

This Repository illustrates how to backup and restore Hyperledger Fabric network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published