DBAtlas · 数据库运维图谱

创建快照

Elasticsearch快照

命令

PUT /_snapshot/backup_repo/snap1?wait_for_completion=false
{
  "indices": "customer",
  "include_global_state": false
}

作用

将指定索引的时间点备份(快照)写入仓库。

适用场景

用于定期备份,或在重大变更前做安全备份。

注意

在大索引上 wait_for_completion=true 会让 HTTP 连接长时间等待;大型快照请使用 false。

在 DBAtlas 中打开 →

相关内容