身安不如心安,屋宽不如心宽 。

elasticsearch索引数据每天备份

Elasticsearch | 作者 jony | 发布于2018年06月27日 | 阅读数:3353

elasticsearch数据现在需要做索引数据每天的增量备份。
方案一:备份到另外一个ES的集群,问题是自带的_reindexmao貌似不能跨集群阿。
方案二:备份到hadoop上,暂无实现方案。
已邀请:

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自:

1、snapshot API 实现增量备份
To back up your cluster, you can use the snapshot API
This will take the current state and data in your cluster and save it to a shared repository. This backup process is "smart." Your first snapshot will be a complete copy of data, but all subsequent snapshots will save the delta between the existing snapshots and the new data. 
Data is incrementally added and deleted as you snapshot data over time. This means subsequent backups will be substantially faster since they are transmitting far less data.
 
2、官网:
https://www.elastic.co/guide/e ... .html

要回复问题请先登录注册