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.
§
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.