Created
October 20, 2013 10:09
-
-
Save toyama0919/7067493 to your computer and use it in GitHub Desktop.
elasticsearchでインデックスのバックアップ、リストア ref: http://qiita.com/toyama0919/items/ccd5eb9169967db54a76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo easy_install esclient |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esdump --url http://localhost:9200/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esdump --url http://localhost:9200/ --indexes logstash-2013.10.12 logstash-2013.10.13 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esdump --url http://localhost:9200/ --bzip2 --file esdump.bz2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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