You can manage on-premises and cloud databases with ease and share data backups among storage pools by configuring backup policies that use multi-level storage pools.

Background information

Backup policies allow you to specify parameters such as backup cycle, retention period, and replication method when full backup, incremental backup, or log backup is performed on a data source. Backup policies also allow you to batch back up specific data sources based on business scenarios. For more information, see Overview.

Note

The multi-level storage pool feature is in public preview. To use this feature, join the DingTalk group whose ID is 32596162.

Configure a backup policy

  1. Log on to the DBS console.
  2. In the left-side navigation pane, click Backup Strategies.
  3. In the upper-left corner of the Backup strategy list page, click Add backup strategy.
    Note You can also modify an existing backup policy. Backup schedules created based on the backup policy are not affected.
  4. On the Create Policy Template page, configure the backup policy for the level-1 storage pool.
    Figure 1. Create a backup policy
    Create a backup policy
    1. Specify a policy name.
    2. Select Logical Backup or Physical Backup. You cannot change this parameter after the policy is created.
      Note 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. Valid values:
      • Periodic Backup: performs full backups based on a specific cycle.
        Note If you select Periodic Backup, you must also configure Full backup frequency.
      • Single Backup: performs a full backup at a specific point of time. Select this option if you want to perform proof of concept (PoC) testing.
      Full backup frequency The interval at which backups are performed. This parameter is set to Every Week by default, which indicates that at least one backup is performed each 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.
      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. 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, the maximum value is Ten years, and the minimum value is A week. 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 automatically decrypts the object and returns the decrypted object to you. For more information, see Server-side encryption.

      • Non-encrypted: Backups are not encrypted.
  5. Move the pointer over the Add level-2 storage pool icon and click Dump.
    1. Click Modify to the right of Dump Policy. In the dialog box that appears, specify the parameters and click Create Policy.
      Table 3. Parameter description
      Parameter Description
      Full Dump Method The dump method. Valid values:
      • Periodic Backup: The latest and undumped backup sets are dumped based on a specific cycle.
      • Event Trigger: When a full or incremental backup is complete in the level-1 storage pool, the system immediately dumps the backup data to a level-2 storage pool.
      Note If you select Periodic Backup, you must set the Full Dump Cycle and Full Dump Start At parameters.
      Full Dump Frequency The interval at which backups are dumped.
      • When you set Full Dump Method to Periodic Backup, the following values are supported:
        • Every Week: You can select one or more days of a week. This is the default value.
        • Every Month: You can select one or more days from the 1st to the 28th day of a month.
        • Every Year: You can select a specific day of a year. You cannot select more than one day. Example: January 1.
      • When you set Full Dump Method to Event Trigger, this parameter is set to Event Trigger by default.
      Full Dump Cycle The days when backups are dumped.

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

      Full Dump Start At The start time of the full dump.

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

      Incremental Dump Specifies whether to dump incremental backups. If you enable this feature, the system dumps the incremental backups from the level-1 storage pool to the level-2 storage pools.
    2. Click Modify to the right of Level-2 Storage Pool (Dump). In the dialog box that appears, specify the parameters and click OK.
      Table 4. Parameter description
      Parameter Description
      Storage Pool The storage pool to which backups are dumped.
      Note You cannot change this parameter after you create the backup policy.
      Retention Period The duration for which dumped backups are retained. The default value is Two years, the maximum value is Ten years, and the minimum value is A week. 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 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 automatically decrypts the object and returns the decrypted object to you. For more information, see Server-side encryption.

      • Non-encrypted: Backups are not encrypted.
  6. Optional:Repeat Step 5 to create multiple level-2 storage pools.
  7. Click OK.
    If you want to implement geo-redundancy, configure a backup policy and create a backup schedule. You must select the configured backup policy when you create the backup schedule. For more information about how to create backup schedules, see Back up one or more databases.

Modify the backup policy of a backup schedule

  1. Log on to the DBS console.
  2. In the left-side navigation pane, click Data Source. On the Data Source page, select a region in the upper-left corner.
    Select a region
  3. Click a data source ID.
  4. In the DBS backup plan section of the Data source details page, click a backup schedule ID.
  5. In the left-side navigation pane of the backup schedule details page, click Backup Strategies.
  6. Move the pointer over the Add level-2 storage pool icon and click Dump.
    1. Click Modify to the right of Dump Policy. In the dialog box that appears, specify the parameters and click Create Policy.
      Table 5. Parameter description
      Parameter Description
      Full Dump Method The dump method. Valid values:
      • Periodic Backup: The latest and undumped backup sets are dumped based on a specific cycle.
      • Event Trigger: When a full or incremental backup is complete in the level-1 storage pool, the system immediately dumps the backup data to a level-2 storage pool.
      Note If you select Periodic Backup, you must set the Full Dump Cycle and Full Dump Start At parameters.
      Full Dump Frequency The interval at which backups are dumped.
      • When you set Full Dump Method to Periodic Backup, the following values are supported:
        • Every Week: You can select one or more days of a week. This is the default value.
        • Every Month: You can select one or more days from the 1st to the 28th day of a month.
        • Every Year: You can select a specific day of a year. You cannot select more than one day. Example: January 1.
      • When you set Full Dump Method to Event Trigger, this parameter is set to Event Trigger by default.
      Full Dump Cycle The days when backups are dumped.

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

      Full Dump Start At The start time of the full dump.

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

      Incremental Dump Specifies whether to dump incremental backups. If you enable this feature, the system dumps the incremental backups from the level-1 storage pool to the level-2 storage pools.
    2. Click Modify to the right of Level-2 Storage Pool (Dump). In the dialog box that appears, specify the parameters and click OK.
      Table 6. Parameter description
      Parameter Description
      Storage Pool The storage pool to which backups are dumped.
      Note You cannot change this parameter after you create the backup policy.
      Retention Period The duration for which dumped backups are retained. The default value is Two years, the maximum value is Ten years, and the minimum value is A week. 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 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 automatically decrypts the object and returns the decrypted object to you. For more information, see Server-side encryption.

      • Non-encrypted: Backups are not encrypted.
  7. Optional:Repeat Step 6 to create multiple level-2 storage pools.
  8. Click OK.
    The geo-redundancy policy for the backup schedule is created. The system automatically dumps backups based on the configurations.