An open API service indexing awesome lists of open source software.

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.

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.