Skip to main content

backup_runs

Overview

Namebackup_runs
TypeResource
Idgoogle.sqladmin.backup_runs

Fields

NameDatatypeDescription
idstringThe identifier for this backup run. Unique only for a specific Cloud SQL instance.
descriptionstringThe description of this run, only applicable to on-demand backups.
diskEncryptionConfigurationobjectDisk encryption configuration for an instance.
endTimestringThe time the backup operation completed in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
enqueuedTimestringThe time the run was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
typestringThe type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
backupKindstringSpecifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
errorobjectDatabase instance operation error.
selfLinkstringThe URI of this resource.
windowStartTimestringThe start time of the backup window during which this the backup was attempted in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
statusstringThe status of this run.
instancestringName of the database instance.
diskEncryptionStatusobjectDisk encryption status for an instance.
kindstringThis is always sql#backupRun.
timeZonestringBackup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.
startTimestringThe time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
locationstringLocation of the backups.

Methods

NameAccessible byRequired ParamsDescription
getSELECTid, instance, projectRetrieves a resource containing information about a backup run.
listSELECTinstance, projectLists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.
insertINSERTinstance, projectCreates a new backup run on demand.
deleteDELETEid, instance, projectDeletes the backup taken by a backup run.
_listEXECinstance, projectLists all backup runs associated with the project or a given instance and configuration in the reverse chronological order of the backup initiation time.