how to move elasticsearch data from one server to another

后端 未结 12 1458
悲哀的现实
悲哀的现实 2020-12-12 12:27

How do I move Elasticsearch data from one server to another?

I have server A running Elasticsearch 1.1.1 on one local node with mul

12条回答
  •  隐瞒了意图╮
    2020-12-12 13:17

    If you simply need to transfer data from one elasticsearch server to another, you could also use elasticsearch-document-transfer.

    Steps:

    1. Open a directory in your terminal and run
      $ npm install elasticsearch-document-transfer.
    2. Create a file config.js
    3. Add the connection details of both elasticsearch servers in config.js
    4. Set appropriate values in options.js
    5. Run in the terminal
      $ node index.js

提交回复
热议问题