A database must support data backup and restoration. PolarDB-X provides data restoration at different levels. For example, PolarDB-X supports instance-level consistent backup and restoration, table-level table recycle bin, and SQL query flashback.
Consistent backup and restoration

For example, a PolarDB-X instance is backed up at 00:00 every Monday, Tuesday, and Friday, as shown in the preceding figure. If you want to restore the instance data of 14:25:26 on the previous Sunday, the system selects a full backup set that is generated at a point in time that is closest to the recovery time objective. The selected point in time is 00:00 of the previous Friday. Then, the system replays global binary logs from 00:00:00 of the previous Friday to 14:25:26 of the previous Sunday to obtain the required data snapshot.
Table recycle bin
If the table recycle bin feature is enabled, the tables that are dropped or truncated
are temporarily placed in the recycle bin. If a table needs to be restored within
two hours after it is placed in the recycle bin, it can be retrieved from the table
recycle bin in the console.
SQL query flashback
