Enabled with --services backupdr,cloudsql

Try a local Cloud SQL backup and restore.

An opt-in subset of Backup and DR for local PostgreSQL and MySQL.

Backed by: CloudBurrow, using the local Cloud SQL engines CloudBurrow

Get started
Local scope

What it covers

Start the Backup and DR endpoint alongside a local Cloud SQL engine. The official-client test creates a vault and plan, protects a SQL instance and restores a backup using Cloud SQL Admin. Use the per-operation coverage table to see which requests that workflow exercises.

  • Manage backup vaults, plans and associations for Cloud SQL (#1433)
  • Trigger a backup of a local Cloud SQL instance
  • Restore through the supported Cloud SQL Admin API path
  • Inspect supported backup configuration and protection metadata
Release and main

What's verified

Follow the operation matrix to see what the backend serves and the tests linked to Verified calls.

Backup and DR Service API (v1)

46 of 61 RPCs Verified in v0.3.0

Backup and DR Service API (v1) in v0.3.0: 46 Verified of 61
Inspect the Backup and DR Service API (v1) operation matrix →
Local boundaries

Not supported

  • 01 / Local boundary

    This scope is Cloud SQL. Compute Engine, AlloyDB, Filestore and management servers are refused.

  • 02 / Local boundary

    A configured KMS key controls whether a backup or restore proceeds in the tested workflow. The local backup bytes are not encrypted with that key.

Evidence source

Source: docs/compatibility.md at main 0ea2594.

Frequently asked

Questions

Which workloads can I back up?

Use the documented Backup and DR paths for local Cloud SQL. Start backupdr alongside cloudsql or cloudsql-mysql.
Link to this answer
Develop locally

Build against Google Cloud APIs, locally

Free and open source under Apache-2.0. No account, no sign-up, no Google Cloud bill.

Get started