Skip to content

Instantly share code, notes, and snippets.

@toyama0919
Created October 20, 2013 10:09
Show Gist options
  • Select an option

  • Save toyama0919/7067493 to your computer and use it in GitHub Desktop.

Select an option

Save toyama0919/7067493 to your computer and use it in GitHub Desktop.
elasticsearchでインデックスのバックアップ、リストア ref: http://qiita.com/toyama0919/items/ccd5eb9169967db54a76
sudo easy_install esclient
esdump --url http://localhost:9200/
esdump --url http://localhost:9200/ --indexes logstash-2013.10.12 logstash-2013.10.13
esdump --url http://localhost:9200/ --bzip2 --file esdump.bz2
esimport --url http://localhost:9200 --file logstash-2013.10.12.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment