Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



BackupRuns

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:

get
Retrieves information about a specified backup run for a Cloud SQL instance.
list
Lists all backup runs associated with a Cloud SQL instance.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.