ElasticDump – Import and export tools for ElasticSearch
github.com
github.com
I had to write the scripts to implement this concept myself and it wasn't a quick and easy task. It would had gone along a lot easier if I was able to abstract away some of those queries with a tool like this.
What's cool about the elsasticsearch api (and therefore the elasticdump tool) is that with aliases, you can read/write to and from an index just like you can an alias.
While the API there is a bit more cumbersome, it's one less dependency, and should be more efficient.
For the specific use case of backups, the official API is even less cumbersome, esp. if you're using the cloud plugin and the S3 export option.
Also I use our similar custom tool* for dev purposes where you might want to kill the copy after a while and just work with a subset of the data... or explicitly apply a filter to copy a subset of data.