Skip to content

Commit

Permalink
Modify the filename that appears in the br command (pingcap#8970)
Browse files Browse the repository at this point in the history
  • Loading branch information
Orion7r authored Apr 18, 2022
1 parent 14999bf commit 9b5a72d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions br/use-br-command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ br backup db \
--db test \
--storage "local:///tmp/backup" \
--ratelimit 128 \
--log-file backuptable.log
--log-file backupdb.log
```

`db` 子命令的选项为 `--db`,用来指定数据库名。其他选项的含义与[备份全部集群数据](#备份全部集群数据)相同。
Expand Down Expand Up @@ -188,7 +188,7 @@ br backup full \
--s3.region "${region}" \
--send-credentials-to-tikv=true \
--ratelimit 128 \
--log-file backuptable.log
--log-file backupfull.log
```

### 增量备份
Expand Down Expand Up @@ -336,7 +336,7 @@ br restore db \
--db "test" \
--ratelimit 128 \
--storage "local:///tmp/backup" \
--log-file restorefull.log
--log-file restoredb.log
```

以上命令中 `--db` 选项指定了需要恢复的数据库名字。其余选项的含义与[恢复全部备份数据](#恢复全部备份数据)相同。
Expand All @@ -360,7 +360,7 @@ br restore table \
--table "usertable" \
--ratelimit 128 \
--storage "local:///tmp/backup" \
--log-file restorefull.log
--log-file restoretable.log
```

### 使用表库功能过滤恢复数据
Expand Down

0 comments on commit 9b5a72d

Please sign in to comment.