A backup policy contains parameters such as the backup method, storage method, backup frequency, backup cycle, and backup start time. To facilitate configuration, you can use one backup policy for backup schedules that use the same backup method. This topic describes how to create, modify, clone, and delete a backup policy.

Log on to the Database Backup console

  1. Log on to the DBS console.
  2. In the left-side navigation pane, click Backup strategies.

Create a backup policy

  1. Log on to the Database Backup console.
  2. In the upper-left corner of the Backup strategy list page, click Add backup strategy.
  3. On the Create Policy Template page, configure the backup policy.
    Figure 1. Create a policy template
    Create a policy template
    1. Specify a policy name.
    2. Select Logical Backup or Physical Backup.
      Note You cannot change this parameter after the policy is created. For more information, see Backup methods.
    3. Click Modify to the right of Backup Strategy. In the dialog box that appears, configure the parameters for the backup policy and click Create Policy.
      Table 1. Parameter description
      Parameter Description
      Full Backup Method The full backup method. You can select Periodic Backup or Single Backup.
      Note If you select Periodic Backup, you must also configure Full backup frequency.
      Full backup frequency The interval at which backups are performed. This parameter is set to Every Week by default.

      This parameter is available only when you set Full Backup Method to Periodic Backup.

      Full Data Backup Cycle The days of the week when backups are performed.
      Full Data Backup Start At The start time of the backup.
      Note If a previous full data backup is not finished at the start time of the next backup, DBS skips the next backup.
      Incremental Backup Interval The interval at which incremental backups are performed. This parameter is set to 10 minutes by default.

      This parameter is available only when Physical Backup is selected.

      Note When Logical Backup is selected and incremental backups are supported, incremental backups are performed in real time.
    4. Click Modify to the right of Level-1 Storage Pool (Backup). In the dialog box that appears, specify the parameters and click OK.
      Table 2. Parameter description
      Parameter Description
      Storage Pool The storage pool to store the backups. You can select a storage pool that resides only in the same region as the data source.
      Note You cannot change this parameter after you create the backup policy.
      Retention Period The duration for which full backups are retained. The default value is Two years. For more information, see How do I manage lifecycle rules of backup sets?.
      Storage Method Specifies whether to encrypt backups. Default value: Encrypted. Valid values:
      • Encrypted: Backups are encrypted.

        The server-side encryption feature of Object Storage Service (OSS) is used. When you upload an object to OSS, OSS encrypts and stores the object. When you download the encrypted object from OSS, OSS decrypts the object and returns the decrypted object to you. For more information, see Server-side encryption.

      • Non-encrypted: Backups are not encrypted.
  4. Click OK.
    After you add a backup policy, you can back up databases. For more information, see Back up one or more databases.

Modify and apply a backup policy

After a backup policy is modified, it is applied only on backup schedules created after it is modified. Backup schedules created before the policy is modified are not affected.

If you modify a backup policy in a specific backup schedule, the backup policy template is not affected.

  1. Log on to the Database Backup console.
  2. On the Backup strategy list page, find the backup policy that you want to modify and click Modify in the Actions column.
  3. On the Create Policy Template page, configure the backup policy.
    For more information about the parameters, see the Create a backup policy section in this topic.
  4. Click OK.

Clone a backup policy

  1. Log on to the Database Backup console.
  2. On the Backup strategy list page, find the backup policy that you want to clone and choose Clone in the Actions column.
  3. On the Create Policy Template page, configure the backup policy.
    Note By default, the value of each parameter is the same as that of the source backup policy. For more information, see Create a backup policy.
  4. Click OK.

Delete a backup policy

  1. Log on to the Database Backup console.
  2. On the Backup strategy list page, find the backup policy that you want to delete and choose Delete in the Actions column.
    Note If the backup policy is associated with a backup schedule, the backup policy cannot be deleted.
  3. Click OK.