【问题标题】:Elasticsearch curator purge s3Elasticsearch 策展人清除 s3
【发布时间】:2016-08-18 21:00:17
【问题描述】:

我正在使用 curator(版本 3.5.1)在 S3 存储桶上执行每日备份。我找到了在我的 ElasticSearch 集群中自动删除索引的方法,但是是否可以自动删除超过 15 天的 s3 备份而不在 ES 集群中删除它们?

目前我的馆长命令:

curator --host elastic-prod snapshot --request_timeout 7200 --repository s3.prod.backup.elasticsearch --skip-repo-validation indices --all-indices

谢谢

【问题讨论】:

  • 您不能使用 Curator 删除快照子命令吗?
  • 当我尝试过时,curator 删除了 ElasticSearch 中的索引,但没有删除 S3 中的索引。如果我在我的 S3 存储桶内容上设置生命周期规则以自动删除超过 15 天的文件,你认为它可以工作吗?我不确定这种方法,因为也许我会为 Elasticsearch 或 Curator 删除一些“重要”文件...

标签: elasticsearch amazon-s3 elasticsearch-curator


【解决方案1】:

并非没有给 Elasticsearch 带来一些麻烦。该 API 应该用于删除快照,以便 Elasticsearch 可以正确跟踪它们。

【讨论】:

  • 当你说API时,我需要调用的是Elasticsearch API?你有例子吗?
猜你喜欢
  • 2015-06-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-03-29
  • 2019-01-14
  • 2018-11-23
  • 1970-01-01
相关资源
最近更新 更多