Diagram
A left-to-right process flow showing verify backup, restore base backup, replay logs in order to PITR target, start app stack, then validate and measure RTO and RPO.
How Point-in-Time Recovery Works
How Point-in-Time Recovery Works rebuilds a database to a specific moment by combining a base backup with the transaction logs written after that backup. Data flows from the stored backup to the recovery system first, then from the stored transaction logs to the same recovery system in order. Only after the latest backup is applied and the subsequent logs are replayed does the database reach the target point in time.
Database recovery depends on the recovery system mirroring the production system, including the same database version and mirrored disk configuration. For critical applications, near-continuous protection such as Cloud SQL PITR or incremental backups for large datasets reduces gaps between scheduled backups. Spanner PITR supports recovery to a point in the past up to a maximum of 7 days, which helps after operator errors or bad application rollouts.
Domain 2 of 6
21 practice questions
Practice this DomainLast updated