Diagram
Cloud Scheduler triggers Pub/Sub and Cloud Run backup services that read JSON policies from Cloud Storage, export BigQuery tables to a backup bucket, and record state in Datastore with monitoring in Cloud Logging.
Native Automated Backups and Orchestration at Scale
Spanner provides managed consistent backups through Spanner Backup and Restore, which can be retained for up to 1 year. Restore from Spanner Backup and Restore has lower RTO than restore from an export because the restore operation directly mounts the backup without copying the data. Spanner also provides PITR for recovery up to 7 days in the past. Scalable backup automation for hundreds of BigQuery tables uses Cloud Scheduler to start work, Pub/Sub to decouple tasks, Cloud Run to run backup services, Cloud Storage to hold policies and data, Datastore for state, and Cloud Logging for monitoring. Data-owner JSON files define table-level policies, while a central Terraform-managed JSON file defines fallback policies for folders, projects, datasets, and tables.
Domain 3 of 5
66 practice questions
Practice this DomainLast updated