Skip to content

bazilio91/swarm-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Vasiliy Ostanin
Jun 8, 2019
b647ca2 · Jun 8, 2019

History

2 Commits
Jun 8, 2019
May 31, 2019
May 31, 2019
May 31, 2019
May 31, 2019
May 31, 2019
May 31, 2019

Repository files navigation

swarm backup

Creates backup of services, secrets, configs, networks into json file with possibility to restore into different docker swarm cluster.

By default uses DOCKER_HOST and other envs (just like docker/cli)

Usage:

swarm-backup backup b.json
swarm-backup restore b.json

Notes:

Internal networks, such as:

  • bridge
  • docker_gwbridge
  • ingress

are not backing up.

Should be run on active manager.

Backup process creates new service evacuation to get secrets data on the current swarm manager.

About

Backup & restore docker swarm

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages