Skip to content

jinmukeji/etcddump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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