BackupPolicyProps
Properties for defining a BackupPolicy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-adb-backuppolicy
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkadb"
&alicloudroscdkadb.BackupPolicyProps {
DbClusterId: interface{},
PreferredBackupPeriod: interface{},
PreferredBackupTime: interface{},
BackupRetentionPeriod: interface{},
EnableBackupLog: interface{},
LogBackupRetentionPeriod: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DbClusterId | interface{} | Property dbClusterId: The ID of the ADB cluster. |
PreferredBackupPeriod | interface{} | Property preferredBackupPeriod: The preferred backup period. |
PreferredBackupTime | interface{} | Property preferredBackupTime: The start time of the full backup within a time range. |
BackupRetentionPeriod | interface{} | Property backupRetentionPeriod: The number of days for which to retain full backup files. |
EnableBackupLog | interface{} | Property enableBackupLog: Specifies whether to enable real-time log backup. |
LogBackupRetentionPeriod | interface{} | Property logBackupRetentionPeriod: The number of days for which to retain log backup files. |
DbClusterIdRequired
DbClusterId interface{}
- Type: interface{}
Property dbClusterId: The ID of the ADB cluster.
PreferredBackupPeriodRequired
PreferredBackupPeriod interface{}
- Type: interface{}
Property preferredBackupPeriod: The preferred backup period.
Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
PreferredBackupTimeRequired
PreferredBackupTime interface{}
- Type: interface{}
Property preferredBackupTime: The start time of the full backup within a time range.
Specify the time range in the HH:mmZ-HH:mmZ format. The time must be in UTC.
The time range is 1 hour.
BackupRetentionPeriodOptional
BackupRetentionPeriod interface{}
- Type: interface{}
Property backupRetentionPeriod: The number of days for which to retain full backup files.
Valid values: 7 to 730.
If you do not specify this parameter, the default value 7 is used.
EnableBackupLogOptional
EnableBackupLog interface{}
- Type: interface{}
Property enableBackupLog: Specifies whether to enable real-time log backup.
Valid values:
- Enable
- Disable
If you leave this parameter empty, the default value Enable is used.
LogBackupRetentionPeriodOptional
LogBackupRetentionPeriod interface{}
- Type: interface{}
Property logBackupRetentionPeriod: The number of days for which to retain log backup files.
Valid values: 7 to 730.
If you do not specify this parameter, the default value 7 is used.