Skip to content

Commit

Permalink
faq: update br faq for restore (#16055) (#16226)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jan 23, 2024
1 parent 4bb0473 commit c7fdbe2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions faq/backup-and-restore-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,3 +330,11 @@ If you do not execute `ANALYZE` on the table, TiDB will fail to select the optim
### Does BR back up the `SHARD_ROW_ID_BITS` and `PRE_SPLIT_REGIONS` information of a table? Does the restored table have multiple Regions?
Yes. BR backs up the [`SHARD_ROW_ID_BITS` and `PRE_SPLIT_REGIONS`](/sql-statements/sql-statement-split-region.md#pre_split_regions) information of a table. The data of the restored table is also split into multiple Regions.
## If the recovery process is interrupted, is it necessary to delete the already recovered data and start the recovery again?
No, it is not necessary. Starting from v7.1.0, BR supports resuming data from a breakpoint. If the recovery is interrupted due to unexpected circumstances, simply restart the recovery task, and it will resume from where it left off.
## After the recovery is complete, can I delete a specific table and then recover it again?
Yes, after deleting a specific table, you can recover it again. But note that, you can only recover tables that are deleted using the `DROP TABLE` or `TRUNCATE TABLE` statement, not the `DELETE FROM` statement. This is because `DELETE FROM` only updates the MVCC version to mark the data to be deleted, and the actual data deletion occurs after GC.

0 comments on commit c7fdbe2

Please sign in to comment.