Docker binary wrapper around elasticsearch-dump
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 sherzberg/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 sherzberg/elasticdump --input=http://production.es.com:9200/my_index --output=query.json --searchBody '{"query":{"term":{"username": "admin"}}}'
See here for more usage.
MIT
Content type
Image
Digest
sha256:de093514a…
Size
107.6 MB
Last updated
almost 11 years ago
docker pull sherzberg/elasticdump