Exception of File Not Found During BR Backup and Restore

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

Original topic: br备份恢复时遇到文件不存在异常

| username: Hacker_UBVfs1Zv

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version]
[Reproduction Path] What operations were performed that led to the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]
Backup command:


Restore command:

The backup and restore data paths are inconsistent, leading to the failure of data restoration.


Actual backup path:

| username: hey-hoho | Original post link

It has nothing to do with the path.

When restoring, BR needs to read the backup files from all TiKV nodes, so it is best to mount a shared storage on all TiKV nodes as the backup directory. During restoration, it will be restored from the shared storage.

| username: zhanggame1 | Original post link

To restore, you need to place the files on shared storage so that all TiKV nodes can access them. The simplest way to achieve this is by setting up an NFS.

| username: redgame | Original post link

Confirm that all TiKV nodes are accessible.