转储 Elasticsearch 的所有文档 [英] Dump all documents of Elasticsearch
本文介绍了转储 Elasticsearch 的所有文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法创建一个转储文件,其中包含一个索引的所有数据及其设置和映射?
Is there any way to create a dump file that contains all the data of an index among with its settings and mappings?
与 mongoDB 类似的方法是 mongodump
或在 Solr 其数据文件夹被复制到一个备份位置.
A Similar way as mongoDB does with mongodump
or as in Solr its data folder is copied to a backup location.
干杯!
推荐答案
Elasticsearch 现在支持开箱即用:
Elasticsearch supports this now out of the box:
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html
这篇关于转储 Elasticsearch 的所有文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文