reference/tools: add a BR tool doc#2020
Conversation
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
|
@TomShawn Please help review the language and organization. Note that some necessary content or description might be missing. Please review to help make it user-friendly. Thanks! |
OK. |
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
|
@GregoryIan PTAL again, thanks. |
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
|
can we merge this pr now? @TomShawn @overvenus |
|
@overvenus Please address the unresolved comments. @TomShawn PTAL, help to improve wording, and add aliases. |
TomShawn
left a comment
There was a problem hiding this comment.
Rest LGMT.
Please address all comments and update v3.1.
|
Thanks @TomShawn |
|
@kennytm @DanielZhangQD PLAT again, Thanks. |
| BR 还包含以下三个子命令: | ||
|
|
||
| * `full`:可用于备份或恢复全部数据。 | ||
| * `db`:可用于备份或恢复集群中的指定数据库。 |
There was a problem hiding this comment.
db is not supported yet.
| --log-file backupfull.log | ||
| ``` | ||
|
|
||
| 以上命令通过 `--ratelimit` 和 `--concurrency` 选项限制了 **每个 TiKV** 执行备份任务的并发数上限和速度上限,同时把 BR 的 log 写到 `backupfull.log` 文件中。 |
There was a problem hiding this comment.
| 以上命令通过 `--ratelimit` 和 `--concurrency` 选项限制了 **每个 TiKV** 执行备份任务的并发数上限和速度上限,同时把 BR 的 log 写到 `backupfull.log` 文件中。 | |
| 以上命令通过 `--ratelimit` 和 `--concurrency` 选项限制了 **每个 TiKV** 执行备份任务的速度上限和并发数上限,同时把 BR 的 log 写到 `backupfull.log` 文件中。 |
| ## 注意事项 | ||
|
|
||
| - BR 只支持 TiDB 3.1 版本及以上。 | ||
| - 如果在没有网络存储的集群上备份,在恢复前需要将所有备份下来的 SST 文件拷贝到各个 TiKV 节点上。 |
There was a problem hiding this comment.
| - 如果在没有网络存储的集群上备份,在恢复前需要将所有备份下来的 SST 文件拷贝到各个 TiKV 节点上。 | |
| - 如果在没有网络存储的集群上备份,在恢复前需要将所有备份下来的 SST 文件拷贝到各个 TiKV 节点上 --storage 指定的目录下。 |
| --log-file backupfull.log | ||
| ``` | ||
|
|
||
| 以上命令通过 `--ratelimit` 和 `--concurrency` 选项限制了 **每个 TiKV** 执行备份任务的并发数上限和速度上限,同时把 BR 的 log 写到 `backupfull.log` 文件中。 |
Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
What is changed, added or deleted?
Add the backup/restore tool (BR) document.
What is the related PR or file link(s)?
N/A
Which version does your change affect?
3.1/dev
Note: This PR is working in progress since BR is still under heavy development.