我要去弹性恢复.当使用2.x版本时,s3存储库寄存器很好地通过脚本.
curl -XPUT 'http://'ip':9200/_snapshot/'repo_2016-12-14/?pretty'' -d ' {"type": "s3", "settings": { "bucket": "'patch-backup'", "base_path" : "elasticsearch/'2016-12-14'", "region": "ap-southeast-1", "access_key": "************", "secret_key": "*************" }}'
但升级到5.0版本时,上面的脚本无法运行.并显示此错误
{"error" : { "root_cause" : [ { "type" : "repository_exception", "reason" : "[repo_2016-12-14] repository type [s3] does not exist" } ], "type" : "repository_exception", "reason" : "[repo_2016-12-14] repository type [s3] does not exist" }, "status" : 500 } -
gimix.. 11
您需要在所有集群节点中安装repository-s3插件,然后重新启动节点.否则插件无法使用.
您需要在所有集群节点中安装repository-s3插件,然后重新启动节点.否则插件无法使用.