Docker-Scripts Reschedule all services curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-reschedule-all.sh | bash Reschedule required services curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-reschedule-required.sh | bash Scale all replicas to 0 curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-replica-stop.sh | bash Scale all replicas to 1 curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-replica-scale1.sh | bash Replica-size backup curl -sSL https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-replica-backup.sh | bash > backup.txt Restore replica-size curl -O https://raw.githubusercontent.com/avides/docker-scripts/master/docker-swarm-replica-start.sh && cat backup.txt | bash docker-swarm-replica-start.sh