Backup Error in BR Cluster

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

Original topic: br 集群备份报错

| username: 宸凡_22

[TiDB Usage Environment] Production Environment / Testing / POC
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[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]

Error: error happened in store 150308686 at File or directory not found on TiKV Node (store id: 150308686). Workaround: please ensure BR and TiKV nodes share the same storage and the user of BR and TiKV has the same UID.: [BR:KV:ErrKVStorage] TiKV storage encountered an I/O error

| username: 这里介绍不了我 | Original post link

Did you back up to a local directory? It looks like the directory is not present on the TiKV with store id: 150308686.

| username: zhaokede | Original post link

The error message is very clear.
The file or directory (storage id: 150308686) cannot be found on the TiKV node. Solution: Please ensure that BR and TiKV nodes share the same storage, and that the users of BR and TiKV have the same UID.

| username: zhanggame1 | Original post link

For BR backups, it’s best to mount NFS or S3 storage to centralize the data.

| username: zhh_912 | Original post link

Buddy, the directory is not appropriate.

| username: 友利奈绪 | Original post link

Directory not found

| username: jiayou64 | Original post link

When backing up to the local environment, each TiKV only backs up the data of its own node. Each TiKV node should have the relevant directory (create it if it doesn’t exist) and it must have read and write permissions set to 777.

| username: TiDBer_QYr0vohO | Original post link

File or directory not found on TiKV

| username: WinterLiu | Original post link

Directory, permissions, and other issues