Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
  • Loading branch information
2 people authored and ti-chi-bot committed Aug 5, 2021
1 parent 7723646 commit 4b5cedd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions br/use-br-command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ br restore db \

In the above command, `--db` specifies the name of the database to be restored. For descriptions of other options, see [Restore all backup data](#restore-all-the-backup-data)).

> **Note**:
> **Note:**
>
> When you are restoring the backup data, the name of the database specified by `--db` must be the same as the one specified by `-- db` when the backup is in progress, otherwise the process fails. The reason is that the metafile `backupmeta` of the backup data records the database name so you can only restore data to the database with the same name. You are recommended to restore the backup data to the database with the same name of another cluster.
> When you restore the backup data, the name of the database specified by `--db` must be the same as the one specified by `-- db` in the backup command. Otherwise, the restore fails. This is because the metafile of the backup data ( `backupmeta` file) records the database name, you can only restore data to the database with the same name. The recommended method is to restore the backup data to the database with the same name in another cluster.
### Restore a table

Expand Down

0 comments on commit 4b5cedd

Please sign in to comment.