The multi-level storage pool feature provided by DBS (DBS) is used to automatically replicate data backups that are stored in DBS to other storage pools. You can configure backup policies that use multi-level storage pools to manage on-premises storage pools and storage pools in the cloud. This way, data backups are stored in multiple storage pools. This enhances data security and reduces the costs of DBS resources.
Prerequisites
The data backups that you want to manage reside in one of the following regions that support the multi-level storage pool feature: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), and China (Shenzhen).Announcement
The public preview period of the multi-level storage pool feature of DBS ended on June 20, 2022. This feature will be included in the infrastructure of DBS to provide services in scenarios such as cross-region backup and backup file download. For more information, see Notice on the end of the public preview of the multi-level storage pool feature.
Overview
In hybrid cloud scenarios, you must store database backups in multiple types of storage pools such as cloud storage and on-premises Network Attached Storage (NAS) file systems. The multi-level storage pool feature allows you to perform data management, scheduling, validation, and backup retention period configuration by storage pool to meet your business requirements.
Term | Description |
---|---|
data source | The data entity that you want to back up. A data source can be an ApsaraDB RDS for MySQL database, a self-managed Oracle database, or specific files. For more information, see Add a data source. |
storage pool | The storage medium in which data backups are stored. You can use the built-in storage spaces provided by DBS, Object Storage Service (OSS) buckets, or self-managed NAS file systems as storage pools. For more information, see Add and remove a storage pool. |
backup policy | A policy that allows you to back up data from multiple data sources at a time based on your business requirements. A backup policy contains configuration items such as the backup cycle, retention period, and replication method of full backups, incremental backups, and log backups. |
backup policy that uses multiple levels of storage pools | A backup policy that allows you to back up data from data sources and store data backups to multiple levels of storage pools. You can apply the backup policy to a backup schedule.
|
dump | The process during which data backups are replicated from one storage pool to another one. |
Typical scenarios
Scenario | Description |
---|---|
Geo-redundancy | Data is backed up in cloud storage services across regions. For example, if a data source is deployed in the China (Beijing) region, you can implement geo-redundancy by specifying the built-in storage space provided by DBS in the China (Beijing) region as the level-1 storage pool and the built-in storage space provided by 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 backup operations on a daily basis. You can specify the built-in storage space provided by DBS in the China (Beijing) region as the level-1 storage pool in which backups are stored for seven days. You can also specify your data center as a level-2 storage pool to which backups are dumped on a weekly basis. |
Backup and migration to the cloud |
|
On-demand archiving in the same region | You can specify the frequency of archiving operations based on your business requirements. |
Procedure
- 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.
- Click Add backup strategy on the Backup strategy list page. Note You can also modify an existing backup policy. After a backup policy is modified, backup schedules that were created based on the backup policy are not affected.
- On the Create Policy Template page, specify the backup policy name, backup method, and backup policy that is used to back up data into the level-1 storage pool.
- Move the pointer over the
icon and click Dump.
Note To configure level-2 storage pools, you must obtain the public preview qualification of the multi-level storage pool feature. If you have not obtained the public preview qualification, this feature is unavailable. For more information, see Notice on the end of the public preview of the multi-level storage pool feature. - Optional:Configure other level-2 storage pools. Perform the steps that are described in Step 4 to configure other level-2 storage pools that you want to use.
- Click OK. A backup policy that uses multiple levels of storage pools is created.
What to do next
Back up a database: Select the created backup policy template when you create a backup schedule to back up the database. For more information, see Back up databases.
- View, modify, clone, or delete the created backup policy template on the Backup strategy list page.
- After you modify the backup policy template, you can apply it only to the backup schedules that are created after the modification. Backup schedules that are created before the backup policy template is modified are not affected.
You can modify the backup policy configured for a backup schedule in the Running state. For more information, see Modify the backup policy of a backup schedule.
- If the backup policy template is associated with a backup schedule, you cannot delete the backup policy template.
- After you modify the backup policy template, you can apply it only to the backup schedules that are created after the modification. Backup schedules that are created before the backup policy template is modified are not affected.