关于elasticsearch:Elasticsearch集群运维常用API二

49次阅读

共计 292 个字符,预计需要花费 1 分钟才能阅读完成。

一、Snapshot
1、从已备份的快照中复原 indices

POST _snapshot/oss_bucket_name/snapshot_name/_restore?wait_for_completion=false
{
  "indices":"indices_name",
  "ignore_unavailable":"true",
  "index_settings": {
    "index.number_of_replicas": 0,
    "index.routing.allocation.total_shards_per_node":"10"
  },
  "include_global_state":false
}

正文完
 0