The backupRuns resource represents a backup for a Google Cloud SQL instance. When an instance has backups enabled, backups for the instance are performed once a day. Note that if there is no new data since the last backup, a backupRuns resource is still created but with a status of
SKIPPED
.
For a list of methods for this resource, see the end of this page.
Resource representations
A database instance backup run resource.
{ "kind": "sql#backupRun", "instance": string, "backupConfiguration": string, "dueTime": datetime, "status": string, "enqueuedTime": datetime, "startTime": datetime, "endTime": datetime, "error": { "kind": "sql#operationError", "code": string } }
Property name | Value | Description | Notes |
---|---|---|---|
backupConfiguration
|
string
|
Backup Configuration identifier. | |
dueTime
|
datetime
|
The due time of this run in UTC timezone in
RFC 3339
format, for example
2012-11-15T16:19:00.094Z
.
|
|
endTime
|
datetime
|
The time the backup operation completed in UTC timezone in
RFC 3339
format, for example
2012-11-15T16:19:00.094Z
.
|
|
enqueuedTime
|
datetime
|
The time the run was enqueued in UTC timezone in
RFC 3339
format, for example
2012-11-15T16:19:00.094Z
.
|
|
error
|
nested object
|
Information about why the backup operation failed. This is only present if the run has the FAILED status. | |
error.
code
|
string
|
Identifies the specific error that occurred. | |
error.
kind
|
string
|
This is always
sql#operationError
.
|
|
instance
|
string
|
Name of the database instance. | |
kind
|
string
|
This is always
sql#backupRun
.
|
|
startTime
|
datetime
|
The time the backup operation actually started in UTC timezone in
RFC 3339
format, for example
2012-11-15T16:19:00.094Z
.
|
|
status
|
string
|
The status of this run. |
Methods
Available methods for backupRuns resources are: