やりたいこと あるインスタンスで動いてるElasticsearchサーバのインデックスデータのdumpを、たとえば自分のローカルにコピーしたい こんなのがある elasticdump これ便利だった 最低限の使い方(書いてあるんですけど↑) % npm install -g elasticdump % elasticdump --input=http:/my.elasticsearch.server.com:9200/my_index --output=http://localhost:9200/my_index あるいは、 % elasticdump --input=http://my.elasticsearch.server.com:9200/my_index --output=$ | gzip > my_index.json.gz 解凍 % gzip -dc my_index.jso
Elasticdump works by sending an input to an output. Both can be either an elasticsearch URL or a File. Elasticsearch/OpenSearch: format: {protocol}://{host}:{port}/{index} example: http://127.0.0.1:9200/my_index File: format: {FilePath} example: /Users/evantahler/Desktop/dump.json Stdio: format: stdin / stdout format: $ You can then do things like: # Copy an index from production to staging with a
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く