How to store data in Hyperledger Fabric after restart

+2 votes

I am using Hyperledger Fabric v0.6 with docker. When I stop and restart the fabric and restart it, the data that was in the fabric was gone.

The code I use to stop and start is as follows:

docker-compose down

docker-compose start

Jul 27, 2018 in Blockchain by slayer
• 29,350 points
2,719 views

1 answer to this question.

0 votes

When you use docker-compose down, all the data and the docker list is removed. To retain your data even after stopping and restarting, try this code to stop the fabric:

docker-compose stop

and then to start, use:

docker-compose up

answered Jul 27, 2018 by digger
• 26,740 points

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer

How to ensure data privacy in Hyperledger Fabric?

There are different ways data privacy in ...READ MORE

answered Jan 31, 2019 in Blockchain by Omkar
• 69,210 points
1,445 views
+15 votes
5 answers
+1 vote
1 answer

How to store state data in Ethereum blockchain?

You won't have to overwrite the whole ...READ MORE

answered Apr 25, 2018 in Blockchain by Shashank
• 10,400 points
712 views
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,426 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,439 views
0 votes
1 answer
0 votes
1 answer

How to control visibility of assets in Hyperledger Fabric?

you can use proof of Authority consensus ...READ MORE

answered Jul 10, 2018 in Blockchain by digger
• 26,740 points
619 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