Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1 KB

README.md

File metadata and controls

36 lines (25 loc) · 1 KB

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