kibana操作es备份数据
程序员文章站
2022-07-06 15:47:59
...
# 查看所有索引
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
上一篇: logstash
下一篇: hive 安装和部署