BackupRun
import type { BackupRun } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";
A BackupRun resource.
interface BackupRun {
backupKind?: "SQL_BACKUP_KIND_UNSPECIFIED" | "SNAPSHOT" | "PHYSICAL";
description?: string;
diskEncryptionConfiguration?: DiskEncryptionConfiguration;
diskEncryptionStatus?: DiskEncryptionStatus;
endTime?: Date;
enqueuedTime?: Date;
error?: OperationError;
id?: bigint;
instance?: string;
kind?: string;
location?: string;
selfLink?: string;
startTime?: Date;
status?:
| "SQL_BACKUP_RUN_STATUS_UNSPECIFIED"
| "ENQUEUED"
| "OVERDUE"
| "RUNNING"
| "FAILED"
| "SUCCESSFUL"
| "SKIPPED"
| "DELETION_PENDING"
| "DELETION_FAILED"
| "DELETED";
timeZone?: string;
type?: "SQL_BACKUP_RUN_TYPE_UNSPECIFIED" | "AUTOMATED" | "ON_DEMAND";
windowStartTime?: Date;
}§Properties
§
backupKind?: "SQL_BACKUP_KIND_UNSPECIFIED" | "SNAPSHOT" | "PHYSICAL"
[src]Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
§
diskEncryptionConfiguration?: DiskEncryptionConfiguration
[src]Encryption configuration specific to a backup.
§
diskEncryptionStatus?: DiskEncryptionStatus
[src]Encryption status specific to a backup.
§
error?: OperationError
[src]Information about why the backup operation failed. This is only present if the run has the FAILED status.
§
status?: "SQL_BACKUP_RUN_STATUS_UNSPECIFIED" | "ENQUEUED" | "OVERDUE" | "RUNNING" | "FAILED" | "SUCCESSFUL" | "SKIPPED" | "DELETION_PENDING" | "DELETION_FAILED" | "DELETED"
[src]The status of this run.
§
timeZone?: string
[src]Backup time zone to prevent restores to an instance with a different time zone. Now relevant only for SQL Server.