offen / docker-volume-backup

Backup Docker volumes locally or to any S3, WebDAV, Azure Blob Storage, Dropbox or SSH compatible storage

Home Page:https://offen.github.io/docker-volume-backup/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve Docker Swarm support

m90 opened this issue · comments

Docker Swarm is supported by this tool, albeit there's a caveat: services need to use a restart policy of on-failure where always is not supported. This brings problem like single node clusters deleting services on reboot.

It would be nice if we could find a more "swarmy" way of temporarily stopping a service. Maybe it could be done by scaling down the service to 0 replicas or even removing and redeploying the service entirely.

I'm creating this ticket mostly to collect my own thoughts around this feature (which is something I would like to use myself).