Skip to content

Commit

Permalink
br/use-br-command-line-tool: supplement br note
Browse files Browse the repository at this point in the history
  • Loading branch information
Liuxiaozhen12 authored and ti-chi-bot committed Aug 5, 2021
1 parent 441738e commit ec8218f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions br/use-br-command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,10 @@ 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**:
>
> 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.
### Restore a table
To restore a single table to the cluster, execute the `br restore table` command. To get help on this command, execute `br restore table -h` or `br restore table --help`.
Expand Down

0 comments on commit ec8218f

Please sign in to comment.