Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RidRisR committed Nov 11, 2024
1 parent 52450ed commit 8674d2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion en/backup-restore-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ kubectl delete backupschedule ${name} -n ${namespace}

If you use TiDB Operator v1.1.2 or an earlier version, or if you use TiDB Operator v1.1.3 or a later version and set the value of `spec.cleanPolicy` to `Delete`, TiDB Operator cleans the backup data when it deletes the CR.

If you are using version 1.5 or later, when you delete a CR, TiDB Operator will attempt to automatically stop the running log backup task. The auto-stop feature will only stop log backup tasks that are running on track; it does not handle tasks that are in an error or failed state.
If you are using version 1.5.5+ or 1.6.1+, when you delete a CR, TiDB Operator will attempt to automatically stop the running log backup task. The auto-stop feature will only stop log backup tasks that are running on track; it does not handle tasks that are in an error or failed state.

If you back up cluster data using AWS EBS volume snapshots and set the value of `spec.cleanPolicy` to `Delete`, TiDB Operator deletes the CR, and cleans up the backup file and the volume snapshots on AWS.

Expand Down
4 changes: 2 additions & 2 deletions en/backup-to-aws-s3-using-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ The logSubcommand field in the Backup CR allows you to control the status of a l
These commands allow fine-grained control over the lifecycle of log backup tasks, enabling start, pause, resume, and stop operations to manage log data retention in a Kubernetes environment.

<Tip>
In the v1.5 or earily TiDB Operator versions. You could use `logStop: true/false` to stop/start the task.
You are not recommanded to do so in the later versions.
In v1.5.5 and earlier TiDB Operator versions, you could use the logStop: true/false field to stop or start a task. This field is retained for backward compatibility.
However, you must not mix logStop with logSubcommand in the same YAML file. Doing so is unsupported, and using logStop is not recommended in later versions. Stick to logSubcommand for better clarity and consistency.
</Tip>

#### Start log backup
Expand Down
4 changes: 2 additions & 2 deletions zh/backup-to-aws-s3-using-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ Backup 自定义资源(CR)中的 logSubcommand 字段允许你控制日志
这些命令使日志备份任务的生命周期控制更加精细,支持启动、暂停、恢复和停止操作,以管理 Kubernetes 环境中的日志数据保留。
<Tip>
TiDB Operator v1.5 或更早的版本中,你可以使用 logStop: true/false 来停止或启动任务
然而,不建议在后续版本中继续使用该方式
在 v1.5.5 及更早版本的 TiDB Operator 中,可以使用 logStop: true/false 字段来停止或启动任务。此字段为了向后兼容而保留
但请勿在同一个 YAML 文件中混用 logStop 和 logSubcommand,这属于不支持的用法。在较新版本中,不推荐使用 logStop,建议使用 logSubcommand 以确保配置清晰且一致
</Tip>
#### 启动日志备份
Expand Down

0 comments on commit 8674d2c

Please sign in to comment.