Sign inSign up

cogniteev/elasticdump

By cogniteev

Updated almost 9 years ago

Tool for moving and saving indices.

Image
0

1.0K

cogniteev/elasticdump repository overview

docker-elasticdump

Docker binary wrapper around elasticsearch-dump

I have forked the sherzberg/docker-elasticdump because the repository on Docker Hub only provides the latest tag. I need to ensure the version of Elasticdump I am using.

Build Status

Hub

Usage

The npm binary elasticdump is the docker entrypoint so any parameters elasticdump accepts, this docker image will as well.

Backup and index to a gzip using stdout:

$ docker run -t cogniteev/elasticdump --input=http://production.es.com:9200/my_index --output=$ | gzip > /data/my_index.json.gz

Backup the results of a query to a file:

$ docker run -t cogniteev/elasticdump --input=http://production.es.com:9200/my_index --output=query.json --searchBody '{"query":{"term":{"username": "admin"}}}'

See here for more usage.

TODO

  • Basic elasticdump commands
  • Enable optional container linking for input/output es nodes

License

See LICENSE

Tag summary

Content type

Image

Digest

sha256:e80860e3c

Size

260.5 MB

Last updated

almost 9 years ago

docker pull cogniteev/elasticdump