/** * Database Service API * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). * OpenAPI spec version: 20160918 * Contact: sic_dbaas_cp_us_grp@oracle.com * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * Backup Options * To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). * */ export interface DbBackupConfig { /** * If set to true, configures automatic backups. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work. */ "autoBackupEnabled"?: boolean; /** * Number of days between the current and the earliest point of recoverability covered by automatic backups. * This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. * When the value is updated, it is applied to all existing automatic backups. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "recoveryWindowInDays"?: number; /** * Time window selected for initiating automatic backup for the database system. There are twelve available two-hour time windows. If no option is selected, a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). *
Example: {@code SLOT_TWO} * */ "autoBackupWindow"?: DbBackupConfig.AutoBackupWindow; /** * Time window selected for initiating full backup for the database system. There are twelve available two-hour time windows. If no option is selected, the value is null and a start time between 12:00 AM to 7:00 AM in the region of the database is automatically chosen. For example, if the user selects SLOT_TWO from the enum list, the automatic backup job will start in between 2:00 AM (inclusive) to 4:00 AM (exclusive). *
Example: {@code SLOT_TWO}
*
*/
"autoFullBackupWindow"?: DbBackupConfig.AutoFullBackupWindow;
/**
* Day of the week the full backup should be applied on the database system. If no option is selected, the value is null and we will default to Sunday.
*/
"autoFullBackupDay"?: DbBackupConfig.AutoFullBackupDay;
/**
* If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately.
*/
"runImmediateFullBackup"?: boolean;
/**
* Backup destination details.
*/
"backupDestinationDetails"?: Array