Can I use the BR tool to back up directly using the PD node?

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

Original topic: 直接使用pd节点,可以使用br工具备份吗

| username: Hacker_lBbigVlk

[TiDB Usage Environment] Production Environment
[TiDB Version] v6.5.5
Application Scenario: JuiceFS file system stores metadata, data is written directly to PD. Checking the tidb-data data directory, the db directory occupies 5.1G, and the backup file size is 320K after directly backing up with the BR tool. Can this writing method be directly backed up using the BR tool?

| username: WalterWj | Original post link

Now TiDB is being used in increasingly sophisticated ways.

BR is for backing up TiKV, not PD.

| username: 小龙虾爱大龙虾 | Original post link

Can’t understand, need to study :smiley:

| username: Hacker_lBbigVlk | Original post link

By directly connecting to PD and writing data into TiKV, of course, it is backing up TiKV. Scenario link: TiKV 最佳实践 | JuiceFS Document Center

| username: 江湖故人 | Original post link

How about trying a full backup without specifying the database name?

| username: 江湖故人 | Original post link

TiKV is only used to store JuiceFS metadata, so it shouldn’t be very large under normal circumstances.

| username: 小龙虾爱大龙虾 | Original post link

Is it being used as RAW KV?

| username: dba远航 | Original post link

It should not support RAW KV.

| username: 烂番薯0 | Original post link

BR is a data backup tool, PD data is not TiKV data.

| username: YuJuncen | Original post link

Actually, there is a BR implementation specifically for Raw KV, but I’m not sure if it’s stable (though it feels like it should be a bit more stable than the original BR’s Raw KV mode…).