Sign inSign up

tsaikd/golasticdump

By tsaikd

•Updated about 7 years ago

tool for moving elasticsearch data written in golang

Image
0

1.2K

tsaikd/golasticdump repository overview

⁠golasticdump

tool for moving elasticsearch data written in golang

Build Status

⁠Install

docker pull tsaikd/golasticdump:0
  • with source code and golang
go get github.com/tsaikd/golasticdump

⁠Examples

  • Copy an index from production to staging
golasticdump \
	--input="http://production.es.com:9200/my_index" \
	--output="http://staging.es.com:9200/my_index"
  • Copy indices
golasticdump \
	--input="http://production.es.com:9200/my_index-*" \
	--output="http://staging.es.com:9200"
  • Move indices
golasticdump --delete \
	--input="http://production.es.com:9200/my_index-*" \
	--output="http://staging.es.com:9200"
  • Merge indices
golasticdump --delete \
	--input="http://production.es.com:9200/my_index-*" \
	--output="http://staging.es.com:9200/merged_index"

⁠Reference

inspired by taskrabbit/elasticsearch-dump⁠

Tag summary

Content type

Image

Digest

Size

6.5 MB

Last updated

over 8 years ago

docker pull tsaikd/golasticdump