Class DbBackupConfig
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.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class DbBackupConfig
Properties
AutoBackupEnabled
Declaration
[JsonProperty(PropertyName = "autoBackupEnabled")]
public bool? AutoBackupEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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. |
AutoBackupWindow
Declaration
[JsonProperty(PropertyName = "autoBackupWindow")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DbBackupConfig.AutoBackupWindowEnum? AutoBackupWindow { get; set; }
Property Value
Type | Description |
---|---|
DbBackupConfig.AutoBackupWindowEnum? | 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).
|
AutoFullBackupDay
Declaration
[JsonProperty(PropertyName = "autoFullBackupDay")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DbBackupConfig.AutoFullBackupDayEnum? AutoFullBackupDay { get; set; }
Property Value
Type | Description |
---|---|
DbBackupConfig.AutoFullBackupDayEnum? | 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. |
AutoFullBackupWindow
Declaration
[JsonProperty(PropertyName = "autoFullBackupWindow")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DbBackupConfig.AutoFullBackupWindowEnum? AutoFullBackupWindow { get; set; }
Property Value
Type | Description |
---|---|
DbBackupConfig.AutoFullBackupWindowEnum? | 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).
|
BackupDeletionPolicy
Declaration
[JsonProperty(PropertyName = "backupDeletionPolicy")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DbBackupConfig.BackupDeletionPolicyEnum? BackupDeletionPolicy { get; set; }
Property Value
Type | Description |
---|---|
DbBackupConfig.BackupDeletionPolicyEnum? | This defines when the backups will be deleted. - IMMEDIATE option keep the backup for predefined time i.e 72 hours and then delete permanently... - RETAIN will keep the backups as per the policy defined for database backups. |
BackupDestinationDetails
Declaration
[JsonProperty(PropertyName = "backupDestinationDetails")]
public List<BackupDestinationDetails> BackupDestinationDetails { get; set; }
Property Value
Type | Description |
---|---|
List<BackupDestinationDetails> | Backup destination details. |
RecoveryWindowInDays
Declaration
[JsonProperty(PropertyName = "recoveryWindowInDays")]
public int? RecoveryWindowInDays { get; set; }
Property Value
Type | Description |
---|---|
int? | 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. |
RunImmediateFullBackup
Declaration
[JsonProperty(PropertyName = "runImmediateFullBackup")]
public bool? RunImmediateFullBackup { get; set; }
Property Value
Type | Description |
---|---|
bool? | If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. |