Backup Policy Args
Import
PolarDB backup policy can be imported using the id or cluster id, e.g.
$ pulumi import alicloud:polardb/backupPolicy:BackupPolicy example "rm-12345678"Constructors
Properties
The backup frequency. Valid values are Normal, 2/24H, 3/24H, 4/24H.Default to Normal.
Cluster backup retention days, Fixed for 7 days, not modified.
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
The Id of cluster that can run database.The backup frequency. Valid values are Normal, 2/24H, 3/24H, 4/24H.Default to Normal.
PolarDB Cluster of level-1 backup period. Valid values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday".
The retention period of level-1 backups. Valid values: 3 to 14. Unit: days.
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.
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.
PolarDB Cluster of level-2 backup period. Valid values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday".
The retention period of level-2 backups. Valid values are 0, 30 to 7300, -1. Default to 0.
The Id of cluster that can run database.
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.
The retention period of cross-region log backups. Default value: OFF. Valid values are 0, 30 to 7300, -1.
The retention period of the log backups. Valid values are 3 to 7300, -1.
PolarDB Cluster backup period. Valid values: "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday". Default to "Tuesday", "Thursday", "Saturday".
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.