Is Object Storage the Only Option for BR Backup?

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

Original topic: br 备份是否只能用对象存储

| username: Hacker_suny

【TiDB Usage Environment】Poc
【TiDB Version】7.1
【Reproduction Path】None
【Encountered Problem: Problem Phenomenon and Impact】
Can br backup only use object storage and not backup to local storage?
【Resource Configuration】
【Attachments: Screenshots/Logs/Monitoring】

| username: tidb菜鸟一只 | Original post link

You can back up to the local storage. Just create a local directory on all TiKV nodes. However, each node will only back up its own data files, and you will need to aggregate them together to restore.

| username: Hacker_suny | Original post link

Are all backups and restores performed on the control machine? Do you have any recommended articles? I didn’t quite understand the official documentation.

| username: xfworld | Original post link

You can use NFS to mount.

| username: Hacker_suny | Original post link

Currently, there are no conditions to set up an additional NFS. So I am wondering if using a local directory is also feasible.

| username: xfworld | Original post link

Local directories are not allowed, refer to

| username: 啦啦啦啦啦 | Original post link

No problem, object storage, local, and NFS are all supported. Object storage or NFS is recommended. The issue with local storage is that recovery is very troublesome and requires aggregation.

| username: tidb菜鸟一只 | Original post link

You can operate on the control machine, but the local directories are on each TiKV node. Before restoring, you need to aggregate the files in the directories of each TiKV node. This is necessary for full data recovery.

| username: zhanggame1 | Original post link

The local directory can also be mounted to other machines as NFS.

| username: zhanggame1 | Original post link

The local directory should be fine, but each TiKV has the same directory, so during recovery, it would be troublesome as you need to copy files between them. It’s not unusable though.

| username: system | Original post link

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