Skip to content

Deployment

deployment_cloud_sql_instance_restore

Restore the managed Postgres (Cloud SQL) instance IN-PLACE from a backup run (destructive — overwrites current data).

Tool

deployment_cloud_sql_instance_restore

Restore the managed Postgres (Cloud SQL) instance IN-PLACE from a backup run (destructive — overwrites current data).

Restore the managed Postgres (Cloud SQL) instance IN-PLACE from a backup run (destructive — overwrites current data).

Behavior

HTTP
POST /deployment/cloud-sql/instances/:instanceId/restore

Arguments

NameTypeRequiredDescription
instanceIdstringNo description in the catalog.
backupRunIdstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
namestring
tierstring
labelstring
regionstring
statusstring
createdAtstring
pgVersionstring
privateIpstring
productIdstring
updatedAtstring
pitrEnabledboolean
backupsEnabledboolean
connectionNamestring
lastErrorMessagestring
backupConfigObservedAtstring

Try it

Restore the managed Postgres (Cloud SQL) instance IN-PLACE from a backup run (destructive — overwrites current data).

When to use

Restore the managed Postgres (Cloud SQL) instance IN-PLACE from a backup run (destructive — overwrites current data).

Example

Ask your agent something like this:

Restore the managed Postgres (Cloud SQL) instance IN-PLACE from a backup run (destructive — overwrites current data).

The agent will invoke deployment_cloud_sql_instance_restore with these arguments:

{
  "instanceId": "<instanceId>",
  "backupRunId": "<backupRunId>"
}

Esc

Start typing to search the docs.

navigateselect