Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: BR 增量备份丢失ddl
[Test Environment for TiDB] Testing
[TiDB Version] v6.1.1
[Encountered Issue]
Tested the full and incremental backup and restore functions of br. After multiple confirmations, it was found that the br incremental backup restore would lose ddl operations. The currently discovered lost operations are truncate table and drop table.
[Reproduction Steps]
- Find a test database, first perform a full backup with br and restore it to another database.
- Perform various operations on the source database, including dml and ddl.
- Use br to perform an incremental backup from the tso of the last full backup and restore it to another database.
- It was found that the tested dml could be restored, and ddl operations such as adding and deleting columns were okay, but drop table and truncate table were lost.