Skip to content

Commit

Permalink
add chinese part
Browse files Browse the repository at this point in the history
  • Loading branch information
RidRisR authored and ti-chi-bot committed Jan 20, 2025
1 parent d8a1c80 commit bd27cd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zh/backup-restore-cr.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ summary: 介绍用于备份与恢复的 Custom Resource (CR) 资源的各字段
* `log-pause`:暂停当前正在进行的日志备份任务。暂停任务后,你可以使用 `log-start` 命令恢复任务。
* `log-stop`:永久停止日志备份任务。执行此命令后,Backup CR 会进入停止状态,且无法再次启动。

对于 v1.5.5 之前的版本,请使用布尔值变量(true/false) logStop 字段来控制日志备份操作。在 v1.5.5 和 v1.6.1 版本中,logStop 仍然受支持,但建议改用 logSubcommand。

* `.spec.restoreMode`:指定 Restore 的模式,默认为 `snapshot`,即基于 KV 层的快照恢复。该字段仅在恢复时有效,目前支持以下三种类型:
* `snapshot`:基于 KV 层的快照恢复。
* `volume-snapshot`:基于卷快照的 TiDB 集群恢复。
Expand Down

0 comments on commit bd27cd9

Please sign in to comment.