A backup schedule in Data Disaster Recovery automatically backs up a database instance on a recurring basis. Each schedule is tied to one database instance and one backup method. This topic walks through creating a subscription backup schedule in the Data Management (DMS) console. You can also call API operations to create a backup schedule.
Only subscription backup schedules can be created in the DMS console. Pay-as-you-go backup schedules are not supported. However, the data archiving feature in DMS automatically creates a pay-as-you-go backup schedule and charges based on the amount of data backed up. For details, see Backup fees.
Prerequisites
Before you begin, make sure that you have:
An Alibaba Cloud account with access to the DMS console V5.0
A database instance to back up (ApsaraDB RDS, PolarDB, self-managed, or other supported database types)
Sufficient permissions to purchase and configure backup schedules
Choose a backup method
Select a backup method before you start. The backup method cannot be changed after purchase.
| Dimension | Physical backup | Logical backup |
|---|---|---|
| Supported sources | Self-managed databases only (not ApsaraDB RDS) | ApsaraDB RDS instances, self-managed databases in data centers, self-managed databases on Elastic Compute Service (ECS) instances |
| What it backs up | Database files at the OS level | Database objects: tables, indexes, and stored procedures |
| Backup granularity | Entire database instance | Fine-grained (specific databases and tables) |
| Speed | Faster backup and restoration | Slower than physical backup |
| Disaster recovery | Supports sandbox instances for emergency recovery | Not available |
For more details, see Select a backup method and Logical backup, physical backup, and snapshot.
Procedure
Log on to the DMS console V5.0.
In the top navigation bar, choose Security and Disaster Recovery (former DBS) > Data Disaster Recovery (DBS) > Backup Plan.
NoteIf the DMS console is in simple mode, click the
icon in the upper-left corner and choose All Features > Security and Disaster Recovery (former DBS) > Data Disaster Recovery (DBS) > Backup Plan.On the Backup Schedules page, click Create Schedule in the upper-right corner.
Configure the parameters described in the following table, then click Buy Now in the lower-right corner.
ImportantIf the databases or tables to back up have unreasonable table schemas, large tables, or large fields, a low-specification tier may not have enough resources to complete the backup. Select a higher specification tier to avoid backup failures.
Parameter Description Product Type The type of product to purchase. Select Backup Schedules to create a backup schedule. Only subscription billing is available in the DMS console. Region The region where the backup instance is deployed. Select the region based on where you want to store backup data. To back up data within the same region as the source database, select the same region. To enable geo-redundancy for stronger disaster recovery, select a different region. Geo-redundancy may incur additional fees. For example, to back up a database in the China (Beijing) region to the China (Shanghai) region, select China (Shanghai). Data Source Type The database engine of the source database. For ApsaraDB RDS for MySQL, self-managed MySQL, or PolarDB for MySQL, select MySQL. For a full list of supported types, see Supported database types and features. Specification The performance tier for backup and restoration. Physical backup supports five tiers: micro, small, medium, large, and xlarge. Logical backup supports seven tiers: micro, small, medium, large, xlarge, 2xlarge, and 4xlarge. The xlarge and higher tiers have no upper limit on backup data volume. For production databases, select xlarge or large for fast backup and restoration. For non-critical workloads, select a lower tier based on your needs. See Select the backup method and backup schedule specifications. Backup Method Physical Backup or Logical Backup. See the comparison table above. This setting cannot be changed after purchase. Storage Size No storage capacity needs to be specified at purchase. Storage is billed based on actual usage. For large backup volumes, purchase a storage plan to offset storage fees for built-in storage. For billing details, see Billing FAQ. Resource Group The resource group for the backup schedule. Select the default resource group or a custom one. Quantity The number of backup schedules to purchase. Each schedule backs up only one database instance of one database type. To back up multiple instances or different database types, purchase separate schedules. Subscription Duration The subscription period for the backup schedule. On the Confirm Order page, review the order details, accept the terms of service, and click Pay.
After payment completes, the new backup schedule appears on the Backup Schedules page.
FAQ
References
Supported database types and features -- check whether your database is supported and what backup granularity is available
Select the backup method and backup schedule type -- guidance on choosing the right specification tier
Logical backup, physical backup, and snapshot -- detailed definitions and differences between backup methods