Backup TiDB Cluster, Backup Failed

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

Original topic: br备份tidb集群,备份失败

| username: TiDBer_vJpITQ5J

[TiDB Usage Environment] Production Environment / Testing / Poc
#Production Environment
[TiDB Version]
#v6.4.0
[Reproduction Path] What operations were performed that caused the issue
#Executed br backup command
[Encountered Issue: Problem Phenomenon and Impact]
Backup failed, error command is: tiup br backup full --pd “10.200.78.95:2379” --backupts ‘2023-03-16 17:16:00’ --storage “/data/mybackup/snapshot-20230316” --ratelimit 32
[Attachments: Screenshots/Logs/Monitoring]

| username: xfworld | Original post link

Check it yourself.

| username: TiDBer_vJpITQ5J | Original post link

The TV status is normal.

| username: 裤衩儿飞上天 | Original post link

storage “local:///data/mybackup…”

| username: 考试没答案 | Original post link

I think I know the reason. Can you help me check something?

| username: 考试没答案 | Original post link

How do you handle the storage for your backups??? Send me a screenshot so I can take a look. df -h
Execute on your tikv node.

| username: 考试没答案 | Original post link

Please take a good look at this content.

Using the br tool requires this type of storage.

| username: TiDBer_vJpITQ5J | Original post link

Is it not possible to use the system’s built-in disk space for backups?

| username: TiDBer_vJpITQ5J | Original post link

The image is not available. Please provide the text you need translated.

| username: 考试没答案 | Original post link

No, you can definitely use the system’s built-in space for backups. However, you need to set up an NFS to make the space cluster-based.

| username: 考试没答案 | Original post link

A lot of backup information may need to be shared. NFS, MinIO, etc. can be used to achieve sharing across multiple nodes.

| username: 考试没答案 | Original post link

From the screenshot, it seems that neither NFS nor Minio has been set up. If you set up an NFS share on the control machine and share it to the TiKV nodes, there will be no problem.

| username: TiDBer_vJpITQ5J | Original post link

Okay, I’ll try setting up a storage service.

| username: 考试没答案 | Original post link

This is the core error information extracted from your error log.

| username: system | Original post link

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