This topic describes how to purchase a backup schedule in Database Backup (DBS). You can use the backup schedule to back up and restore databases.
- You are charged for the backup schedule that you purchase.
The backup and restore performance, free quota for data backup, and unit price vary based on backup schedule specifications. For more information, see Backup fees.
- After you configure and start a backup schedule, backup files are generated. Then, DBS charges you storage fees.
You are charged based on the volume and duration of your data that is stored in DBS. For more information, see Storage fees. If you configure a backup schedule to back up data to an Object Storage Service (OSS) bucket or a self-managed Network Attached Storage (NAS) file system, you are not charged storage fees.
- Log on to the DBS console.
- In the left-side navigation pane, click Backup Schedules. On the Backup Schedules page, select a region in the upper-left corner.
- On the Backup Schedules page, click Create Schedule in the upper-right corner to go to the DBS buy page.
- Set the parameters that are described in the following table. Then, click Buy and Start in the lower-right corner of the page.
Parameter Description Product Type The billing method of the backup schedule that you want to purchase. Default value: Backup Instance.Note You cannot create a pay-as-you-go backup schedule in the DBS console. DBS Region The region where you want to store the backup data.Note
- Backup in the same region: Select the region where the database to be backed up resides.
- Geo-redundancy: Select a region different from that of the database to be backed up. This method provides a better disaster recovery capability but may charge you additional fees. For example, if you want to back up a database from the China (Beijing) region to DBS in the China (Shanghai) region, select the China (Shanghai) region.
Database Type The engine of the database to be backed up.
DBS provides a variety of backup features for different database engines. See Database engines and features before you purchase a backup schedule.
Specification The backup schedule specification that you want to use. Higher specifications offer higher backup and restore performance. DBS supports the following backup schedule specifications: micro (basic specification), small (low-end specification), medium (medium-end specification), large (high-end specification), and xlarge (high-end specification with no upper limit on the amount of backup data).
- To ensure quick backup and restore of some database instances, such as database instances in the production environment, we recommend that you select the xlarge or large specification for better backup and restore performance.
- If you do not require high backup and restore performance, you can select the most cost-effective backup schedule specification based on your requirements. For more information, see Select backup schedule specifications.
Backup Method The backup method that you want to use. Valid values:
- Physical Backup: You can perform a physical backup only on self-managed databases, but not ApsaraDB RDS instances.
You can use this method to back up database files in the operating system. In most cases, the speeds of physical backup and restore are faster than the speeds of logical backup and restore. You can also use a sandbox instance for emergency recovery. For more information, see Quick start.
- Logical Backup: You can perform a logical backup on ApsaraDB RDS instances, self-managed databases in data centers, and self-managed databases hosted on Elastic Compute Service (ECS) instances.
You can use this method to back up database objects, including tables, indexes, and stored procedures. DBS allows you to back up specified databases and tables in a fine-grained way. For more information, see Restore data by database or table.
Storage Space The storage size of the backup schedule that you want to purchase. You do not need to specify the storage size when you purchase a backup schedule. You are charged for the volume of your data that is stored in DBS. For more information, see Storage fees. You can also purchase storage plans. Larger discounts are provided for storage plans of higher storage capacities. For more information, see Use storage plans. Quantity The number of backup schedules that you want to purchase. To back up multiple database instances, you must purchase multiple backup schedules. For example, if you want to back up Database instance A and Database instance B, you must purchase two backup schedules. Duration The subscription duration for the backup schedule that you want to purchase.
- On the Confirm Order page, confirm your order information, read and select I have read and agree to Database Backup Agreement of Service in the Terms of Service section, and then click Pay.
After you pay for the order, log on to the DBS console. In the left-side navigation pane, click Backup Schedules to view the new backup schedule.
References of API operations
- Do I need to purchase a storage plan?
Storage fees vary based on the volume and duration of the data stored in DBS. After you purchase a storage plan, you can use the storage plan to offset the storage fees. Storage plans are more cost-effective than pay-as-you-go storage. Larger discounts are provided for storage plans of higher storage capacities. For more information, see Use storage plans.
If you configure a backup schedule to back up data to an OSS bucket or a self-managed NAS file system, you are not charged storage fees. In this case, you do not need to purchase storage plans.