Backup and Restore
備份與還原
-H 'Content-Type: application/json'資料夾設定
# 打開資料夾所有權限 避免使用者權限問題
sudo chmod -R 777 [path]
# 檢視資料夾詳細設定
ls -al [path]elasticsearch.yml設定
# 新增備份絕對路徑
path.repo: ["/mnt/es_backup"]Repository設定
建立repository
檢查repository設定是否成功
查詢所有repository設定
刪除註冊完成的repository
Snapshot設定
建立snapshot並自行命名,包含所有index
建立特定index的snapshot
查詢snapshot建立進度
查詢所有snapshot版本
刪除snapshot
恢復snapshot
列出所有index
先刪除特定index
關閉index
指定snapshot進行恢復
指定snapshot中的index進行恢復
查看恢復進度
Last updated