https://github.com/parabolic/consul_backup
A repository that creates a docker image that auto discovers consul nodes and backs the configuration to s3.
https://github.com/parabolic/consul_backup
aws backup consul-backup consul-cluster docker docker-compose docker-image
Last synced: about 2 months ago
JSON representation
A repository that creates a docker image that auto discovers consul nodes and backs the configuration to s3.
- Host: GitHub
- URL: https://github.com/parabolic/consul_backup
- Owner: parabolic
- Created: 2017-04-10T12:04:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-11T10:01:16.000Z (about 8 years ago)
- Last Synced: 2025-03-22T21:01:44.715Z (2 months ago)
- Topics: aws, backup, consul-backup, consul-cluster, docker, docker-compose, docker-image
- Language: Shell
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# consul_backup
A repository that creates a docker image that auto discovers consul nodes and backs the configuration to s3.
It will search AWS (using aws-cli) for nodes the same way consul search other nodes using tags which should be provided as env variables.## Requirements
- A running docker installation.
- Environment variables: CONSUL_CLUSTER_TAG, CONSUL_CLUSTER_VALUE, CONSUL_DC, S3_BACKUP_BUCKET.
- Optional Environment variables are: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and are only used for local testing.## TODO
- [ ] Create only one backup. Randomization might assign the same leader ip on 2 dockers and they will both create a backup. This needs to be fixed.