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,110 points
29 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
• 6,880 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 in Docker by Sirajul
• 29,340 points
128 views
0 votes
1 answer
0 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
1,020 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
• 6,880 points
224 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
• 6,880 points
558 views