consul-backup
Download a Consul snapshot and push to S3
359
Simple script to download a Consul snapshot and upload to S3.
Required env vars:
CONSUL_HTTP_ADDR - consul http endpoint
CONSUL_HTTP_TOKEN - The same from https://www.consul.io/api-docs
AWS_ACCESS_KEY_ID - access key credential
AWS_SECRET_ACCESS_KEY - secret credential
S3_BUCKET - backup bucket
S3_BUCKET_REPL - backup replication bucket
These values can be provided via a mount volume, the script will source a file named /secrets/credentials if it exists.
Don't forget to export at least AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, since they are used by the awscli tool.
Content type
Image
Digest
Size
34.6 MB
Last updated
over 4 years ago
docker pull renatoaquino/consul-backup