Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BackupConfiguration

import type { BackupConfiguration } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";

Database instance backup configuration.

interface BackupConfiguration {
backupRetentionSettings?: BackupRetentionSettings;
binaryLogEnabled?: boolean;
enabled?: boolean;
kind?: string;
location?: string;
pointInTimeRecoveryEnabled?: boolean;
replicationLogArchivingEnabled?: boolean;
startTime?: string;
readonly transactionalLogStorageState?:
| "TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED"
| "DISK"
| "SWITCHING_TO_CLOUD_STORAGE"
| "SWITCHED_TO_CLOUD_STORAGE"
| "CLOUD_STORAGE";
transactionLogRetentionDays?: number;
}

§Properties

§
backupRetentionSettings?: BackupRetentionSettings
[src]

Backup retention settings.

§
binaryLogEnabled?: boolean
[src]

(MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.

§
enabled?: boolean
[src]

Whether this configuration is enabled.

§
kind?: string
[src]

This is always sql#backupConfiguration.

§
location?: string
[src]

Location of the backup

§
pointInTimeRecoveryEnabled?: boolean
[src]

Whether point in time recovery is enabled.

§
replicationLogArchivingEnabled?: boolean
[src]

Reserved for future use.

§
startTime?: string
[src]

Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.

§
readonly transactionalLogStorageState?: "TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED" | "DISK" | "SWITCHING_TO_CLOUD_STORAGE" | "SWITCHED_TO_CLOUD_STORAGE" | "CLOUD_STORAGE"
[src]

Output only. This value contains the storage location of transactional logs used to perform point-in-time recovery (PITR) for the database.

§
transactionLogRetentionDays?: number
[src]

The number of days of transaction logs we retain for point in time restore, from 1-7.