Diagram
A left-to-right process flow showing Cloud Scheduler publishing to Pub/Sub, triggering a Cloud Run export function, which exports the database to timestamped files in Cloud Storage.
Scheduled Export Architecture and Failure Handling
Scheduled exports use Cloud Scheduler to start work on a timetable, Pub/Sub to deliver the trigger, and Cloud Run functions to run export logic. Data flows from Cloud Scheduler to a Pub/Sub topic to a function, then from the database to a Cloud Storage bucket. The same pattern is recommended for Firestore in Datastore mode and suggested for Cloud SQL, which does not provide built-in automated exports. The project must have billing enabled, the destination bucket must exist near the database location, and a Requester Pays bucket cannot be used. Serverless exports in Cloud SQL offload the export to a temporary instance that is deleted when the export completes, so the primary keeps serving queries.
Domain 2 of 4
338 practice questions
Practice this DomainLast updated