This topic describes how Database Backup (DBS) charges fees. The fees consist of backup fees, storage fees, and network fees.

Billing items

DBS fees consist of backup fees, storage fees, and network fees. DBS does not charge you for data restoration. For more information, see Backup fees, Storage fees, and Network fees.

Billing item Billing method Description Remarks
Backup fees Subscription Backup fees are charged daily based on the amount of data backed up using DBS each day. The free quota for data backup varies with instance types. For more information, see Backup fees.
  • If you back up 100 GB of data on the first day, you are charged backup fees for 100 GB of data.
  • If you back up another 50 GB of data on the second day, you are charged backup fees for 50 GB of data.
  • If you back up another 200 GB of data on the third day, you are charged backup fees for 200 GB of data.
Storage fees Pay-as-you-go Storage fees are charged daily based on the amount of existing data in DBS built-in storage each day.
  • If the amount of data stored in DBS built-in storage is 50 GB on the first day, you are charged storage fees for 50 GB of data.
  • If the amount of data stored in DBS built-in storage increases by 50 GB to a total 100 GB on the second day, you are charged storage fees for 100 GB of data.
  • If you delete 20 GB of the stored data and leave a total of 80 GB of data in DBS built-in storage on the third day, you are charged storage fees for 80 GB of data.
Network fees Pay-as-you-go Network fees are charged based on the network traffic that is generated by data backup in DBS.
  • DBS charges fees for network traffic that is generated when you use features that are based on the network provided by DBS, such as cross-region backup of ApsaraDB for RDS data.
  • DBS does not charge fees for network traffic generated when you use another network service for backup in DBS. For example, if you use Cloud Enterprise Network (CEN) or VPN Gateway to back up data, or use the Internet to back up data of Elastic Compute Service (ECS) instances across regions, DBS charges you no fee for the generated traffic.

Backup fees

The free quota for data backup, unit price, and backup and restoration performance vary with instance types.

The following formula is used to calculate the fees for an instance type: Configuration fees + (Actual backup data size - Free quota for data backup) × Unit price of the instance type.

  • Pricing for data backup (mainland China)
    Instance type Configuration fee (USD/month) Free quota for data backup (GB/month) Unit price of excess backup data (USD/GB)
    micro 5 40 0.117
    small 22 400 0.055
    medium 35 800 0.039
    large 56 1,600 0.024
    xlarge 140 0
    xmicro 16 0
    Note
    • Backup and restoration speeds vary with instance types. More advanced instance types offer lower unit prices and higher performance. For more information, see Select an instance type.
    • The configuration fee refers to the monthly subscription fee of an instance type.
    • Each calendar month, you are allocated a free quota for data backup. The remaining free quota does not roll over into the next month if you have not consumed all of it within the month.
    • If the total amount of data that you back up during a month exceeds the free quota, the excess data is charged based on the corresponding unit price.
    • Backup fees consist of the configuration fee and the fee for excess backup data. For example, assume that you purchase a backup schedule of the medium instance type and perform a full backup of 300 GB data on a weekly basis. The total amount of backup data in a month is 1,200 GB. The monthly free quota for a backup schedule of the medium instance type is 800 GB. In this case, your backup fee for the month is: USD 35 per month × 1 month + (1,200 GB - 800 GB) × USD 0.039 per GB = USD 50.6.
  • Pricing for data backup (China (Hong Kong) and regions outside China)
    Instance type Configuration fee (USD/month) Free quota for data backup (GB/month) Unit price of excess backup data (USD/GB)
    micro 7 40 0.4
    small 33 400 1.7
    medium 53 800 2.7
    large 84 1,600 4.2
    xlarge 209 0
    xmicro 24 0

Storage fees

  • Pay-as-you-go

    If you select the pay-as-you-go billing method when you purchase a backup schedule, you do not need to specify the storage capacity. DBS expands the storage capacity when the amount of data in DBS built-in storage increases. DBS charges a storage fee based on the amount of data that you actually store in DBS built-in storage. The storage fee is represented by StandardStorageSize in a DBS bill.

    Storage region Unit price for data storage (USD/GB/month)
    China (Hangzhou) 0.0173
    China (Shanghai) 0.0173
    China (Qingdao) 0.0173
    China (Beijing) 0.0173
    China (Zhangjiakou-Beijing Winter Olympics) 0.0173
    China (Hohhot) 0.0173
    China (Shenzhen) 0.0173
    China (Hong Kong) 0.02
    Singapore (Singapore) 0.02
    Japan (Tokyo) 0.0209

Network fees

  • Pricing for cross-region backup of ApsaraDB for RDS data
    Source region Destination region Unit price for outbound traffic (USD/GB)
    China (Hangzhou) China (Shanghai), China (Beijing), China (Qingdao), and China (Shenzhen) 0.12
    China (Shanghai) China (Hangzhou), China (Beijing), China (Qingdao), and China (Shenzhen) 0.12
    China (Beijing) China (Hangzhou), China (Shanghai), China (Qingdao), and China (Shenzhen) 0.12
    China (Qingdao) China (Hangzhou), China (Shanghai), China (Beijing), and China (Shenzhen) 0.12
    China (Shenzhen) China (Hangzhou), China (Shanghai), China (Beijing), and China (Qingdao) 0.12
    China (Zhangjiakou-Beijing Winter Olympics) China (Hangzhou), China (Shanghai), China (Beijing), China (Qingdao), China (Shenzhen), and China (Hohhot) 0.12
    China (Hohhot) China (Hangzhou), China (Shanghai), China (Beijing), China (Qingdao), China (Shenzhen), and China (Zhangjiakou) 0.12
    China (Hangzhou), China (Shanghai), China (Shenzhen), China (Qingdao), China (Beijing), China (Zhangjiakou), and China (Hohhot) China (Hong Kong) 0.55
    China (Hong Kong) China (Hangzhou), China (Shanghai), China (Beijing), China (Qingdao), and China (Shenzhen) 0.55
    Note If you back up ApsaraDB for RDS data across regions, except for network fees that DBS charges, you are charged storage fees by Object Storage Service (OSS). For more information, see Back up an ApsaraDB RDS for MySQL instance across regions.

Concepts

Database backup scenarios involve the following concepts: database disk space, data file size, backup data size, and storage data size.

Concept Description
Database disk space The total disk space of a database consists of the total space consumed by data files, logs, and operating system files as well as the available space of the operating system of the server where the database resides.
Note
  • For an ApsaraDB for RDS instance, the storage space that you select when you purchase the instance is database disk space.
  • For a database hosted on an Elastic Compute Service (ECS) instance, the collective storage space of the system disks and data disks that you select when you purchase the ECS instance is database disk space.
Data file size The data file size of a database is equal to the amount of disk space occupied by database data files on the server where the database resides.
You can perform the following operations to view the data file size of a database:
  • To view the data file size of an ApsaraDB for RDS instance, log on to the ApsaraDB for RDS console. In the left-side navigation pane, click Instances. On the Instances page, find the instance and click Manage in the Actions column. In the left-side navigation pane of the page that appears, click Monitoring and Alerts. On the Monitoring tab of the Monitoring and Alerts page, click Data Usage below the Disk Space (MB) chart.
  • To view the data file size of a database hosted on a Linux server, go to the directory of the data files of the database and run the du -sh command.
  • To view the data file size of a database hosted on a Windows server, open the folder where the data files of the database reside. Right-click the blank area and select Properties.
Backup data size The backup data size of a database refers to the amount of data that you back up using DBS. This size depends on a variety of factors such as the database type, backup mode, and backup granularity.
Storage data size The storage data size of a database refers to the amount of data stored in the storage system. This size depends on a variety of factors such as the backup data size, the storage format of backup data, and the compression algorithm.

The following space sizes are in descending order: database disk space > data file size > backup data size > storage data size.