is there any way of getting all data in hyperledger fabric before we start the ledger

0 votes
hi everyone I am having one doubt if we start the docker container  in hyperledger fabric  ./startFabric.sh  we lost all data which we stored in ledger. for example: In production environment some issues occured so that container need to start it again  in that sceanrio we lost all  users data which stored in ledger. is there any way of backup method is there to retrieve all data in hyperledger fabric. once we start the container again we need to retrieve the data again we need to store the docker. please help me .

Thanks in advance
May 22, 2020 in Blockchain by harinishree
• 150 points
1,487 views

2 answers to this question.

0 votes
Hi, @Harinishree,

If you use the ./startFabric script directly to run the network. It first kills the existing network before starting a new one. you can modify the script to make sure it just stops the nodes instead of deleting them. Also, you can take a backup from the volumes before you stop the network.
answered Jun 3, 2020 by Gitika
• 65,770 points
0 votes

Hey, @Harinishree,

You can also do one thing, bind volumes to your host machine. So that when you restart your peer service again it doesn't lose all the data.

answered Jun 4, 2020 by Gitika
• 65,770 points

Related Questions In Blockchain

+1 vote
1 answer
+1 vote
2 answers

Is there any relation between the number of transactions processes and the miners?

the direct answer to your query is ...READ MORE

answered Jun 19, 2018 in Blockchain by Perry
• 17,100 points
807 views
+2 votes
2 answers

How can I traverse the blocks of transactions in hyperledger fabric?

For hyperledger fabric you can use query ...READ MORE

answered May 8, 2018 in Blockchain by Rachel
5,370 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
1,003 views
+1 vote
1 answer
0 votes
1 answer

My account is already an administrator but its giving the an error on denial of permission

Hi, @There, You can try this in your ...READ MORE

answered Jun 17, 2020 in Blockchain by Gitika
• 65,770 points
1,691 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP