简体   繁体   English

如何从弹性搜索克隆现有索引数据

[英]How to clone existing index data from elastic search

I want to clone an existing index data (from day 1 to now) from elastic search to another elastic search in new server.我想将现有的索引数据(从第 1 天到现在)从弹性搜索克隆到新服务器中的另一个弹性搜索。 I read some references and know i can take a snapshot and restore it.我阅读了一些参考资料,知道我可以拍摄快照并恢复它。 Is it a best way to clone the index data?这是克隆索引数据的最佳方法吗? and the snapshot includes the data from day 1 to now?快照包括从第一天到现在的数据?

Thanks.谢谢。

Snapshots are meant to be used for :快照旨在用于:

  1. Backups & recovery备份和恢复
  2. Data export -> import数据导出 -> 导入

Using a snapshot for migrating data b/w 2 ES clusters are fine as long as both the clusters are on the same version of ES.使用快照迁移数据 b/w 2 ES 集群就可以了,只要两个集群都在同一版本的 ES 上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM