Restore a docker swarm

0 votes
I have a swarm cluster where there is one manager and three workers. I have taken a daily backup just in case of breakdown. There was some issue with one of the worker and its all a mess now. I was trying to restore this cluster. i expected something like this to happen- one manager three workers, but for some reason only my manager is getting restored and not the workers. I'm getting one manager and zero workers.

Is there something more to be done? Am I missing out on something?
Aug 24, 2018 in Docker by lina
• 8,220 points
930 views

1 answer to this question.

0 votes
If there is something wrong only with one of the worker there's an easy way to go about this.

You can do docker swarm leave on that one worker and join again. Anyways you wont lose any of your workings as the manager is perfectly fine. And on the manager you can always clean up the mess old worker had made.

I wouldn't recommend restoring workers.
answered Aug 24, 2018 by Nilesh
• 7,060 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer

How to Backup, Restore or Migrate data volumes in a docker container?

Steps to Backup a container 1)     ...READ MORE

answered Jul 3, 2019 in Docker by Sirajul
• 59,230 points
14,150 views
0 votes
1 answer
+2 votes
1 answer
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
3,925 views
0 votes
1 answer

Docker-Swarm: Join a docker-swarm from another subnet

You need the following ports open between ...READ MORE

answered Aug 22, 2018 in Docker by Nilesh
• 7,060 points
2,062 views
0 votes
1 answer

Persisting data in a docker swarm with glusterfs

You will have to create a volume ...READ MORE

answered Aug 24, 2018 in Docker by Nilesh
• 7,060 points
1,947 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