Requires authorization
Restores a backup of a Cloud SQL instance. Try it now .
Request
HTTP request
POST https://www.googleapis.com/sql/v1beta1/projects/project/instances/instance/restoreBackup
Parameters
Parameter name | Value | Description |
---|---|---|
Required parameters | ||
backupConfiguration
|
string
|
The identifier of the backup configuration. This gets generated automatically when a backup configuration is created. |
dueTime
|
string
|
The time when this run is due to start in
RFC 3339
format, for example
2012-11-15T16:19:00.094Z
.
|
instance
|
string
|
Cloud SQL instance ID. This does not include the project ID. |
project
|
string
|
Project ID of the project that contains the instance. |
Authorization
This request requires authorization with the following scope ( read more about authentication and authorization ).
Scope |
---|
https://www.googleapis.com/auth/sqlservice.admin
|
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "sql#instancesRestoreBackup", "operation": string }
Property name | Value | Description | Notes |
---|---|---|---|
kind
|
string
|
This is always
sql#instancesRestoreBackup
.
|
|
operation
|
string
|
An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation. |
Try it!
Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer .