How to Specify the End Time for BR Log PITR Log Backup?

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

Original topic: br log pitr日志备份 如何指定任务结束时间?

| username: TiDBer_uiEYTt4h

[TiDB Usage Environment] /Test/ Poc
[TiDB Version] V7.1
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
When backing up the br log start log, the end-ts was specified, but in actual operation, the timestamp did not end as expected.

Which version will support this parameter?

[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]

| username: Daniel-W | Original post link

BR log cannot specify end ts, right?
I checked the latest official documentation and it doesn’t mention the end-ts parameter. Where did you see this usage? :thinking:

| username: TiDBer_uiEYTt4h | Original post link

I saw this parameter in the source code, and it can be set.

The help documentation is a bit outdated. The -s option can be written locally, but the documentation doesn’t mention it.

| username: xfworld | Original post link

It is estimated that there are relatively few users…

Have you found any other shortcomings?

| username: Billmay表妹 | Original post link

Which documentation hasn’t been updated?

| username: Billmay表妹 | Original post link

Take a look at which link is wrong and give a brief description. I’ll make a documentation modification suggestion.

| username: TiDBer_uiEYTt4h | Original post link

It only mentions S3, but does not mention the local method.

| username: TiDBer_uiEYTt4h | Original post link

Will this be fixed? Haven’t found anything else yet.

| username: xfworld | Original post link

Yes, they will definitely improve the documentation.

| username: 随缘天空 | Original post link

It seems that you cannot specify an end time; you can only manually stop the task.

| username: TiDBer_gxUpi9Ct | Original post link

Can this be fixed by myself?