BackupPolicy

class BackupPolicy : KotlinCustomResource

Import

PolarDB backup policy can be imported using the id or cluster id, e.g.

$ pulumi import alicloud:polardb/backupPolicy:BackupPolicy example "rm-12345678"

Properties

Link copied to clipboard
val backupFrequency: Output<String>

The backup frequency. Valid values are Normal, 2/24H, 3/24H, 4/24H.Default to Normal.

Link copied to clipboard

Cluster backup retention days, Fixed for 7 days, not modified.

Link copied to clipboard

Specifies whether to retain backups when you delete a cluster. Valid values are ALL, LATEST, NONE. Default to NONE. Value options can refer to the latest docs ModifyBackupPolicy

Link copied to clipboard

The Id of cluster that can run database.The backup frequency. Valid values are Normal, 2/24H, 3/24H, 4/24H.Default to Normal.

Link copied to clipboard

PolarDB Cluster of level-1 backup period. Valid values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday".

Link copied to clipboard

The retention period of level-1 backups. Valid values: 3 to 14. Unit: days.

Link copied to clipboard

The time period during which automatic backup is performed. The format is HH: MMZ HH: MMZ (UTC time), and the entered value must be an hour apart, such as 14:00z-15:00z.

Link copied to clipboard

PolarDB Cluster of level-2 backup is a cross regional backup area.

PolarDB Cluster of level-2 backup cross region backup retention period. Valid values are 0, 30 to 7300, -1. Default to 0.

Link copied to clipboard

PolarDB Cluster of level-2 backup period. Valid values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday".

Link copied to clipboard

The retention period of level-2 backups. Valid values are 0, 30 to 7300, -1. Default to 0.

Link copied to clipboard
val dbClusterId: Output<String>

The Id of cluster that can run database.

Link copied to clipboard
val enableBackupLog: Output<Int>

Indicates whether the log backup feature was enabled. Valid values are 0, 1. 1 By default, the log backup feature is enabled and cannot be disabled.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The region in which you want to store cross-region log backups. For information about regions that support the cross-region backup feature, see Overview.

Link copied to clipboard

The retention period of cross-region log backups. Default value: OFF. Valid values are 0, 30 to 7300, -1.

Link copied to clipboard

The retention period of the log backups. Valid values are 3 to 7300, -1.

Link copied to clipboard

PolarDB Cluster backup period. Valid values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday". Default to "Tuesday", "Thursday", "Saturday".

Link copied to clipboard

PolarDB Cluster backup time, in the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. Default to "02:00Z-03:00Z". China time is 8 hours behind it.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>