Skip to content

Commit

Permalink
Update br/use-br-command-line-tool.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored Jul 8, 2021
1 parent cbb1679 commit 3879014
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion br/use-br-command-line-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ br restore db \

以上命令中 `--db` 选项指定了需要恢复的数据库名字。其余选项的含义与[恢复全部备份数据](#恢复全部备份数据)相同。

> 注意:恢复备份数据的时候`--db`选项指定的数据库名字必须与执行备份时候`--db`选项指定的数据库名字相同,否则无法恢复成功。因为备份数据的元文件`backupmeta`记录了这个名字,只能恢复到同名的数据库,推荐做法是把备份文件恢复到另一个集群的同名数据库中。
> **注意**
>
> 恢复备份数据的时候,`--db` 选项指定的数据库名必须与执行备份时候 `--db`选项指定的数据库名相同,否则无法恢复成功。由于备份数据的元文件`backupmeta` 记录了该数据库名,因此只能将数据恢复到同名的数据库。推荐做法是把备份文件恢复到另一个集群的同名数据库中。
### 恢复单张表的数据

Expand Down

0 comments on commit 3879014

Please sign in to comment.