To perform an automatic backup, you must purchase a backup schedule for the database instance to be backed up, and then configure the backup schedule.
When you use a backup schedule, you may be charged the following fees:
- Backup fees (required): the fees that are charged for the backup schedule specifications used. 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.
- Storage fees (optional): the fees that are charged for the storage of backup data. The storage
fees vary based on the size and storage duration of the data 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, DBS does not charge you 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.
- 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 and click Buy and Start on the right.
Parameter Description Product Type The billing method of the backup schedule that you want to purchase. Default value: Backup Instance. DBS Region The region in which to create the backup schedule. We recommend that you select the region in which you want to store the backup data. 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 methods for different database engines. See Database engines and features before you purchase a backup schedule.
Specification Higher specifications offer higher backup and restore performance. DBS supports the following backup schedule specifications:
Note We recommend that you select the xlarge type because it delivers the following advantages: 100 GB of data can be backed up within about 1 hour. No upper limit is imposed on the amount of backup data. You can use the xlarge type to achieve high cost efficiency if a large amount of data needs to be backed up. For more information, see Select backup schedule specifications.
- micro: basic specification
- small: low-end specification
- medium: medium-end specification
- large: high-end specification
- xlarge: high-end specification with no upper limit on the amount of backup data
Backup Method The backup method that you want to use. Valid values:
- Logical Backup: backs up database objects, including tables, indexes, and stored procedures. DBS allows you to back up specified databases and tables in a fine-grained way.
- Physical Backup: backs up database files on the operating system. In most cases, the speeds of physical backup and restore are faster than the speeds of logical backup and restore.
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 amount of storage space that you actually use. 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 DBS 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.