V8.1.0 Log Backup Failure

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

Original topic: v8.1.0 日志备份失败

| username: 星空之痕

[Test Environment for TiDB]
[TiDB Version] v8.1.0
[Reproduction Path] tiup br log start --task-name pitr --pd 192.169.0.231:2379 -s local:/backup
[Encountered Issue: Error: [pd] failed to get cluster id

(There is no problem with the full database backup, /backup is an NFS share)

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

It should be written like this, right?
tiup br log start --task-name=pitr --pd “192.169.0.231:2379” --storage “local:///backup”

| username: TiDBer_QYr0vohO | Original post link

–pd 192.169.0.231:2379 Is this address correct? It looks like the address in the command is wrong.

| username: TiDBer_QYr0vohO | Original post link

192.168, right?

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

Modify the command as follows:
tiup br log start --task-name=pitr --pd=“${PD_IP}:2379” --storage=‘local:///backup’

In addition, tiup br log status --task-name=pitr --pd=“${PD_IP}:2379” is used to query the task status.

| username: Jack-li | Original post link

Check the address up.

| username: 友利奈绪 | Original post link

Amazing, you noticed that even though I didn’t pay attention.