This topic describes the physical restore process.
Overview
The restore process in OceanBase Database is as follows:
RootService creates the required log streams based on the backup data.
The leader of the log streams dispatches the data and logs restored on it, and the followers pull data and logs from the leader.
After RootService detects that all log streams are restored, it considers that tenant data restore is completed.
For a single partition, the backup and restore process is similar to the server restart process and involves the loading of data and application logs.
Restore transaction consistency
In OceanBase Database, physical backup and restore depends on the Global Timestamp Service (GTS) feature of tenants. GTS ensures global consistency between the backed up and restored data.