Migrate Consul data from one datacenter to another
go build ./cmd/consul-migrate
To export Consul data to a file called data.json run the following:
consul-migrate export -output data.json
To import Consul data from a file called data.json run the following:
consul-migrate import -input data.json