When performing BR backup, does the backupts parameter need to consider the time zone?

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

Original topic: BR备份时–backupts参数需要考虑时区吗?

| username: TiDBer_QYr0vohO

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version]
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
I want to ask if --backupts needs to consider the time. For example, my system time is UTC time. If I want to back up the data from the early morning of June 14, 2023, should I specify --backupts as 2023-06-13 16:00:00 or 2023-06-14 00:00:00?
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

| username: Billmay表妹 | Original post link

When using BR for backup, the --backupts parameter does not need to consider time zones. BR will convert it to a UTC timestamp and then use that timestamp for the backup. Therefore, no matter which time zone you run BR in, you do not need to consider time zone issues.

| username: TiDBer_QYr0vohO | Original post link

Okay, thanks~

| username: system | Original post link

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