【发布时间】:2021-09-27 21:17:59
【问题描述】:
我已使用默认设置制作了快照:
PUT /_snapshot/backup/%3Csnapshot-%7Bnow%2Fd%7D%3E?wait_for_completion=true
删除旧数据,尝试在新的elasticsearch单节点集群上恢复:
POST /_snapshot/backup/snapshot-2021.09.23/_restore
,但我得到错误:
"type" : "snapshot_restore_exception",
"reason" : "[backup:snapshot-2021.09.23/esJtA1MeRcenJbz3tkIL2A] cannot restore index [.geoip_databases] because an open index with same name already exists in the cluster. Either close or delete the existing index or restore the index under a different name by providing a rename pattern and replacement name"
我想做一个简单的快照恢复... ES 的这些人即使是简单的备份恢复操作也设法过度复杂化。
我认为错误的索引是系统索引。如果是这样,我可以在创建系统索引之前恢复我的快照吗?
如何恢复我的快照?
弹性搜索 7.14.1
我也尝试过使用:
POST /_snapshot/backup/snapshot-2021.09.23/_restore
{
"include_global_state":false,
"feature_states":[]
}
但同样的错误显示。
【问题讨论】:
标签: elasticsearch