The multi-level storage pool feature of Database Backup (DBS) allows data backups to be automatically replicated across storage pools. You can configure backup policies that use multiple levels of storage pools to manage on-premises and cloud databases with ease and share data backups among storage pools. This enhances security and reduces backup costs.

Prerequisites

Your application for the storage pool feature during the public preview is approved. For more information, see Note.

Features

In hybrid cloud scenarios, you must store database backups in multiple types of storage pools such as cloud databases and on-premises Network Attached Storage (NAS) file systems. The multi-level storage pool feature enables storage pool-specific management, scheduling, validation, and backup retention period configuration to meet your business requirements.

Table 1. Terms
Term Description
data source The data entity that you want to back up, such as an ApsaraDB RDS for MySQL instance, a self-managed Oracle database, or specific files. For more information, see Add a data source.
storage pool The storage medium in which backup data is stored. You can use the built-in storage space of DBS, self-managed Object Storage Service (OSS) buckets, or self-managed NAS file systems as DBS storage pools. For more information, see Add and remove storage pools.
backup policy A policy that allows you to batch back up specific data sources based on your business requirements. You can specify parameters such as the backup cycle, retention period, and replication method when full backup, incremental backup, or log backup is performed on a data source.
backup policy that uses multiple levels of storage pools A backup policy that allows you to back up specific data sources to multiple levels of storage pools after you apply it to a backup schedule.
  • Level-1 storage pool: Backups of a data source are first stored in level-1 storage pools.
  • Level-2 storage pool: Backups stored in level-1 storage pools are dumped to level-2 storage pools.
dump The process during which data backups are replicated from one storage pool to another.

Limits

DBS supports the multi-level storage pool feature only in the following regions: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), and China (Shenzhen).

Scenarios

Scenario Description
Geo-redundancy You can use the multi-level storage pool feature to store backups across regions. For more information, see Use the multi-level storage pool feature to implement geo-redundancy.

For example, if the data source is located in the China (Beijing) region, you can implement geo-redundancy by specifying the built-in storage space of DBS in the China (Beijing) region as the level-1 storage pool and the built-in storage space of DBS in the China (Hangzhou) region as a level-2 storage pool.

Archiving You can use the multi-level storage pool feature to archive backups to your data center or a cloud-based storage pool.

For example, if you want to archive backups, you can configure a backup policy to perform full backups on a daily basis. You can specify the built-in storage space of DBS in the China (Beijing) region as the level-1 storage pool in which generated backup sets are stored for seven days. You also need to specify your data center as a level-2 storage pool to which backup sets are dumped on a weekly basis.

Backup and migration to the cloud
  • Backups can be first stored in your data center and then dumped to a cloud-based storage pool.
  • Backups can also be directly stored in a cloud-based storage pool.
On-demand archiving in the same region You can choose the frequency of archiving operations based on your business requirements.

Billing

During the public preview, you are charged only for dump storage. The billing method is the same as that for regular backups. For more information, see Billing overview.

During the public preview, you are not charged additional geo-redundancy fees.

Procedure

  1. Log on to the DBS console. In the left-side navigation pane, click Backup Strategies. In the upper part of the page that appears, select a region.
  2. Click Add backup strategy in the upper-left corner of the page.
    Note You can also modify an existing backup policy. Backup schedules that were created based on the backup policy are not affected.
  3. On the Create Policy Template page, configure the backup policy name, backup mode, and backup policy for the level-1 storage pool.
    1. Specify a name for the backup policy.
    2. Select Logical Backup or Physical Backup. You cannot modify this parameter after the backup policy is created.
      Note You cannot change the backup method after the backup policy template is created. For more information about the backup methods, see Backup methods.
    3. Click Modify to the right of backup policy. In the dialog box that appears, set the parameters for the backup policy. Then, click OK.
      Table 2. Parameter description
      Parameter Description
      Full Backup Method The method that is used to perform full backups. Valid values:
      Full backup frequency

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

      Full Backup Cycle
      Start At
      Incremental Backup Interval

      This parameter is displayed only when Physical Backup is selected.

    4. Click Modify to the right of Level-1 Storage Pool (Backup). In the dialog box that appears, set the parameters for a level-1 storage pool. Then, click OK.
      Table 3. Parameter description
      Parameter Description
      Storage type
      Storage Pool

      The storage pool in which database backups are stored. You must select a storage pool that resides within the same region as the data source.

      You cannot modify this parameter after the backup policy is created.
      Retention Period The duration for which full backups are retained. The default value is 2 Years, the maximum value is 10 Years, and the minimum value is 1 Week. For more information, see How do I manage the lifecycle rules of backup sets?.
      Encryption method Specifies whether and how to encrypt backups. Default value: Built-in encryption. Valid values:
      • Encrypted: Backups are encrypted. By default, this option is selected.

        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. Move the pointer over the Add a level-2 storage pool icon and click Dump.
    1. Click Modify to the right of Dump Policy. In the dialog box that appears, set the parameters for a dump policy. Then, click OK.
      Table 4. Parameter description
      Parameter Description
      Full Dump Method The method that is used to dump backups. Valid values:
      • Periodic Backup: DBS dumps the latest full backup set that is not dumped to a level-2 storage pool on a specific periodic basis. If no qualified backup sets exist when the specific point of time is reached, DBS continues to monitor the creation of backup sets and performs a dump as soon as a backup set is created.

        For example, you can configure DBS to perform a full backup to the level-1 storage pool every day and a full dump to the level-2 storage pool every Sunday. In this case, DBS dumps only the latest full backup set to the level-2 storage pool every Sunday.

      • Event Trigger: When a full or incremental backup is complete in the level-1 storage pool, DBS immediately dumps the backup data to a level-2 storage pool.
      Note If you set the Full Backup Method parameter to 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.
      • If you set the Full Dump Method parameter 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. Example: January 1. You cannot select more than one day.
      • If you set the Full Dump Method parameter to Event Trigger, this parameter is set to Event Trigger.
      Full Dump Cycle The days of the week when full backups are dumped.

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

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

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

      Incremental Dump Specifies whether to dump incremental backups. If you enable this feature, DBS 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, set the parameters for the level-2 storage pool. Then, click OK.
      Table 5. Parameter description
      Parameter Description
      Storage type The type of the storage that is used by data backups. Valid values: DBS Storage, NAS, and OSS For User.

      If you want to set this parameter to NAS or OSS For User, you must add OSS buckets or NAS file systems as DBS storage pools in advance. For more information, see Add and remove storage pools.

      You can dump data to NAS file systems or OSS buckets only when you use the logical backup method.OSS For User

      Storage Pool The storage pool to which backups are dumped. You cannot modify this parameter after the backup policy is created.
      • You can dump backups across regions. For example, you can specify the built-in storage space of DBS in the China (Hangzhou) region as the level-1 storage pool and the built-in storage space of DBS in the China (Beijing) region as a level-2 storage pool.
      • You can also dump backups across heterogeneous storage spaces. For example, you can specify the built-in storage space of DBS in the China (Hangzhou) region as the level-1 storage pool and an on-premises NAS file system as a level-2 storage pool.
      Retention Period The duration for which dumped backups are retained. The default value is 2 Years, the maximum value is 10 Years, and the minimum value is 1 Week. For more information, see How do I manage the lifecycle rules of backup sets?.
      Encryption method Specifies whether and how to encrypt backups. Default value: Built-in encryption. Valid values:
      • Encrypted: Backups are encrypted. By default, this option is selected.

        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.
  5. Optional:Repeat Step 4 to create multiple level-2 storage pools.
  6. Click OK.
    A backup policy that uses multiple levels of storage pools is created.

What to do next