Skip to content

BackupPolicyProps

Properties for defining a BackupPolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-adb-backuppolicy

Initializer

using AlibabaCloud.SDK.ROS.CDK.Adb;
new BackupPolicyProps {
    object DbClusterId,
    object PreferredBackupPeriod,
    object PreferredBackupTime,
    object BackupRetentionPeriod = null,
    object EnableBackupLog = null,
    object LogBackupRetentionPeriod = null
};

Properties

Name Type Description
DbClusterId object Property dbClusterId: The ID of the ADB cluster.
PreferredBackupPeriod object Property preferredBackupPeriod: The preferred backup period.
PreferredBackupTime object Property preferredBackupTime: The start time of the full backup within a time range.
BackupRetentionPeriod object Property backupRetentionPeriod: The number of days for which to retain full backup files.
EnableBackupLog object Property enableBackupLog: Specifies whether to enable real-time log backup.
LogBackupRetentionPeriod object Property logBackupRetentionPeriod: The number of days for which to retain log backup files.

DbClusterIdRequired

public object DbClusterId { get; set; }
  • Type: object

Property dbClusterId: The ID of the ADB cluster.


PreferredBackupPeriodRequired

public object PreferredBackupPeriod { get; set; }
  • Type: object

Property preferredBackupPeriod: The preferred backup period.

Valid values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.


PreferredBackupTimeRequired

public object PreferredBackupTime { get; set; }
  • Type: object

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

public object BackupRetentionPeriod { get; set; }
  • Type: object

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

public object EnableBackupLog { get; set; }
  • Type: object

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

public object LogBackupRetentionPeriod { get; set; }
  • Type: object

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.