我让elasticsearch备份进入S3。但是我无法使用下面提到的任何命令来恢复它。
curl -XPOST http://localhost:9200/_snapshot/elasticsearch/snap-dev_1/_restore
curl -XPOST http://localhost:9200/_snapshot/snap-deliveryreports_june2016bk/elasticsearch/_restore我可以在S3中看到这些文件:

恢复图像中显示的数据的命令是什么?
最新情况:
以下命令是成功的(返回and : true) --它意味着访问密钥、秘密密钥、桶名和区域是正确的。
curl -XPUT 'http://localhost:9200/_snapshot/s3_repository?verify=true&pretty' -d'
{
"type": "s3",
"settings": {
"bucket": "todel162",
"region": "us-east-1"
}
}'我想我只需要知道如何使用还原快照命令。
发布于 2017-07-18 09:37:19
您可以使用cat恢复 API来监视您的恢复状态,就像恢复elasticsearch的常规恢复机制一样,因此检查是否看到使用这些API的任何内容。
https://stackoverflow.com/questions/45139312
复制相似问题