/etcddump

etcd dump tool

Primary LanguageGoApache License 2.0Apache-2.0

etcddump

Go Report Card Godoc Releases LICENSE

A tool used to dump / restore etcd KV.

Install

go get github.com/jinmukeji/etcddump

Or download a compiled version at Release page

Usage

# help
etcddump -h

# dump
etcddump dump \
	--address=127.0.0.1:2379 \
	--prefix="/micro/config/jm" \
	--output=test.out

# restore
etcddump restore \
	--address=127.0.0.1:2379 \
	--file=test.out