【问题标题】:How to export Elasticsearch Index to local如何将 Elasticsearch 索引导出到本地
【发布时间】:2015-03-31 21:57:59
【问题描述】:

如何将 elasticsearch 索引从服务器导出到我的本地计算机,然后像我们从 phpMyadmin 为 mysql 数据库一样将其导入到另一台服务器?

【问题讨论】:

    标签: elasticsearch-plugin elastica elasticsearch


    【解决方案1】:

    您可以使用 Snapshot API (http://www.elastic.co/guide/en/elasticsearch/reference/1.3/modules-snapshots.html) 或将索引目录(通常在 your-es-directory/data/your-clustrname/nodes/your-node/your-index 中)复制到目标实例关闭时的系统。

    【讨论】:

      【解决方案2】:

      https://github.com/mallocator/Elasticsearch-Exporter 可以在不使用共享磁盘的情况下执行此操作(快照功能需要这样做)。

      【讨论】:

        猜你喜欢
        • 2022-07-12
        • 2013-04-02
        • 1970-01-01
        • 2021-02-04
        • 2013-06-16
        • 2016-04-04
        • 2020-09-27
        • 2017-06-29
        • 1970-01-01
        相关资源
        最近更新 更多