pingcap / pingcap/tidb

"br restore table --db mysql --table t1" doesn't actually restore mysql.t1

Open
#36,869 2 comments 0 reactions 0 assignees View on GitHub
component/br found/automation severity/moderate type/bug
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)
1. Create table mysql.t1
2. Make full backup
3. Restore the backup to a new TiDB using cmd: "br restore table --db mysql --table t1"

### 2. What did you expect to see? (Required)
mysql.t1 should be restored

### 3. What did you see instead (Required)
mysql.t1 not restored.
I have to specify --with-sys-table to restore mysql.t1, i.e. "br restore table --db mysql --table t1 --with-sys-table" , this is different behavior compared to 6.1.

### 4. What is your TiDB version? (Required)
6.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.