signed

QiShunwang

“诚信为本、客户至上”

kibana操作es备份数据

2021/6/3 17:53:03   来源:
# 查看所有索引
GET /_cat/indices?v&pretty




# 1.创建仓库
PUT /_snapshot/test3
{
    "type": "fs",
    "settings":{
        "location": "test3"
    }
}

# 1.2.查看所有仓库
GET /_snapshot


# 2.创建快照(备份)
PUT /_snapshot/test3/test
{
  "indices": "goods_stock,sale_order_record_report",
  "include_global_state": true
}

# 2.2.查看快照进度
GET /_snapshot/test3/test/_status