创建快照仓库
curl -X PUT "localhost:9200/_snapshot/curator-dtlog04" -H 'Content-Type: application/json' -d'{"type": "fs","settings": {"location": "dtlog04_backup"}}'
查看快照仓库列表
https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html
# curl -X GET "localhost:9200/_cat/repositories?v"id typecurator-dtlog07 fscurator-dtlog08 fscurator-dtlog09 fscurator-dtlog10 fscurator-dtlog11 fs
查看快照状态,命令返回参与快照的每个分片的当前状态完整分解
# curl -X GET http://localhost:9200/_snapshot/curator-dtlog04/curator-20191130111011/_status?pretty
