Public | Automated Build

Last pushed: 5 days ago
Short Description
Tool for moving and saving indices.
Full Description

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

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

License

See LICENSE

Docker Pull Command
Owner
cogniteev
Source Repository