BR Backup and Restore Error: code = Unknown desc = RPC Error

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: br备份恢复报错 error: code = Unknown desc = rpc error

| username: ti-lanse

【TiDB Usage Environment】Production Environment
【TiDB Version】v4.0.13
【Reproduction Path】
【Encountered Problem: Problem Phenomenon and Impact】
Using the br tool to restore a table with hundreds of millions of data. The original cluster configuration includes three TiDB, TiUP, and TiKV nodes. The restore is performed on a “single machine simulating a production environment cluster.”
【Resource Configuration】
The restore is performed on a single machine with 250GB memory and 64 cores.
【Attachments: Screenshots/Logs/Monitoring】

Below are the screenshots and restorefull logs


restorefull.log (326.0 KB)

| username: Jellybean | Original post link

Your cluster is version 4.0, which is too old. Please check the compatibility with the BR version.

| username: xfworld | Original post link

It seems like this error is caused by PD being inaccessible.

| username: zhanggame1 | Original post link

Is it the same version of the database and BR tool for backup and recovery?

| username: ti-lanse | Original post link

Yes, the versions are the same.

| username: 舞动梦灵 | Original post link

Change the IP 127.0.0.1, don’t use this one.

| username: ti-lanse | Original post link

Destroying the cluster and redeploying with a new IP worked as expected. Thank you, expert.

| username: 舞动梦灵 | Original post link

You’re welcome. With open-source stuff, we verify the correct answers with each other.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.