最近,在备份Elasticsearch集群上发现其snapshot的restore功能失灵了,一直无法restore主集群的snapshot,每次都在调用创建repository API的时候失败。GET ~/_snapshot API返回如下的内容。而通过Azure Explorer检查相应的Azure Storage Account,snapshot-0401-72d8早已经被清除了。
{
"auto-restore-repo" : {
"type" : "azure",
"settings" : {
"container" : "snapshot-0401-72d8",
"location_mode" : "secondary_only",
"compress" : "true",
"account" : "elasticsearch"
}
}
}