A backup policy in Database Backup (DBS) 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 template.

Navigate to the backup policy page

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

Create a backup policy template

  1. Navigate to the backup policy page.
  2. Click Add backup strategy in the upper-left corner of the page.
  3. On the Create Policy Template page, configure the backup policy.
    Figure 1. Create a backup policy template
    Create a backup policy template
    1. Specify a backup 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 policy. In the dialog box that appears, configure parameters of 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. By default, this parameter is set to Every Week.

      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.
      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. By default, this parameter is set to 10 minutes.

      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 in which backups are stored. You can select a storage pool that resides only within 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 2 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 a bucket for which server-side encryption is enabled, OSS encrypts the object and stores the encrypted 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 a backup policy template

After you modify a backup policy template, it is applied only to backup schedules that are created after the modification. Backup schedules created before the policy is modified are not affected.

You can also modify the backup policy of a backup schedule. This operation does not affect the backup policy template.

  1. Navigate to the backup policy page.
  2. 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 Create a backup policy template.
  4. Click OK.

Clone a backup policy template

  1. Navigate to the backup policy page.
  2. Find the backup policy that you want to clone and click Clone in the Actions column.
  3. On the Create Policy Template page, configure the backup policy.
    Note The system generates parameter values that are the same as those of the selected backup policy. For more information, see Create a backup policy template.
  4. Click OK.

Delete a backup policy template

  1. Navigate to the backup policy page.
  2. Find the backup policy that you want to delete and click 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.