Public Repository

Last pushed: a year ago
Short Description
Consul Backup and Restore tool. This will use consul-api to recursively backup and restore k/v
Full Description

Built using code from https://github.com/kailunshi/consul-backup
Version https://github.com/kailunshi/consul-backup/blob/df8c5e23367ee4f674d40f19ec8ec800186a95da/main.go

Dockerized Version
This app is Dockerized.

to build following changes docker build -t halo/consul-backup .
after checking out main.go in the current folder
To backup consul-kv simply run
docker run --rm -v /tmp:/tmp consul-backup app -i <CONSUL-URL>:8500 /tmp/backup_consul
To restore consul-kv simply run
docker run --rm -v /tmp:/tmp consul-backup app -i <CONSUL-URL>:8500 --restore /tmp/backup_consul

Docker Pull Command
Owner
halo

Comments (0)