All Products
Search
Document Center

ApsaraDB for OceanBase:Billing for backup and restore

Last Updated:Jan 18, 2024

This topic describes the pricing and billing for the backup and restore feature of ApsaraDB for OceanBase.

Billing description

The backup and restore feature of ApsaraDB for OceanBase provides four types of backup services: local level-1 backup, local archive backup, remote level-1 backup, and remote archive backup.

After you purchase a cluster instance or a serverless instance, a local backup and restore order is automatically generated. By default, only the local level-1 backup service is automatically enabled. You can manually enable the local archive backup and remote backup services as needed. For more information, see Backup strategies

Note

A serverless instance does not support the local archive backup and remote archive backup services.

  • If you are a subscription user, the backup and restore order automatically ends after the cluster instance order ends.

  • If you are a pay-as-you-go user, you can click Release next to your cluster instance to release the cluster instance.

    Note

    When you release a cluster instance, you can retain the backup data. The backup data is billed based on the data type.

The storage space occupied by backup files consists of two parts: the part for data backups and the part for log backups. The free quota of storage space varies based on the type of backup files.

  • Local level-1 backup: The storage space for data backups and log backups has free quotas. When a free quota is used up, you will be charged based on the excess storage usage and retention period.

    Note
    • If you use Standard Edition (History Database), there are no free quotas for data backups or log backups and you will be charged based on the storage usage and retention period.

    • For other series, data backups are retained for 7 to 30 days. You will not be charged if your data backups do not exceed the size limit and the data backups are retained for no more than 15 days.

  • Local archive backup: For backup files that require long-term retention and are not frequently used for restore, you can enable archive backup. After archive backup is enabled, backup files that exceed the retention period specified for level-1 backup will be migrated to the path where archive backup files are stored. The storage space for data backups and log backups has no free quotas. You will be charged based on the storage usage and retention period. You can use archive backup files for a free restore once every three months.

    Note

    Archive backup files are retained for at least 60 days. You will be charged for 60-day retention even if the retention period is shorter than 60 days.

  • Remote backup: The storage space for data backups and log backups has no free quotas. You will be charged based on the storage usage and retention period. Remote backup charges higher than local backup because remote replication occupies bandwidth resources.

The following tables describe the billing methods for backup and restore. For more information about expiring or overdue services, see Expiration or overdue payment.

Billing for level-1 backup

Level-1 data backups and log backups have free quotas if the retention period is within 15 days. The following table describes the free quotas.

Note

When the retention period of a backup exceeds the time specified in the backup strategy, the system deletes the backup to restore the backup quota.

Billable item

Free quota

Description

Region

Data Backup

2 × N

N is the storage space size specified when you purchase the cluster.

When the size of log backups is less than or equal to 2 times the storage space size of the cluster (N), no extra backup charges are incurred.

Chinese mainland, China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Germany (Frankfurt), US (Silicon Valley), US (Virginia), Middle East, Saudi Arabia (Riyadh)

Log Backup

0.5 × N

N is the storage space size specified when you purchase the cluster.

When the size of log backups is less than or equal to 0.5 times the storage space size of the cluster (N), no extra backup charges are incurred.

The following table lists the unit prices when the billing condition is met.

Billable item

Unit price per hour in Chinese mainland

Unit price per hour in China (Hong Kong), Singapore, Malaysia (Kuala Lumpur), Indonesia (Jakarta), Germany (Frankfurt), US (Silicon Valley), US (Virginia), Middle East, Saudi Arabia (Riyadh)

Data Backup

USD 0.00004/GB

USD 0.00006/GB

Log Backup

USD 0.00004/GB

USD 0.00006/GB

Billing example of data backups

Assume that you have purchased a cluster instance in the China (Hong Kong) region. The cluster has a storage space of 1,000 GB, so the free quota for data backups is 2,000 GB. The data backup is performed at 03:00 every day. The first data backup started at 03:00 on December 4, 2023 and was completed at 04:50 on the same day. Then, the system calculated the fees at 05:00 and the backup size was 200 GB. If the backup is performed every day in the same pattern, you are charged based on the hourly unit price when the total backup size exceeds the free quota of 2,000 GB or the backup retention period exceeds 15 days.

The following table describes the backup sizes over time.

Backup/Date

December 4

December 5

December 6

···

December 19

December 20

···

Incremental backup size (GB)

200

200

200

···

200

200

···

Total data backup size (GB)

200

400

600

···

3,000

3,200

···

The following table describes the billing details.

Time range

Billable data backup size

Fee

05:00 on December 4 to 05:00 on December 14, 2023

0

The backup size does not exceed 2,000 GB, which is twice the size of the cluster storage space, and the backup retention period does not exceed 15 days. No fee is charged.

05:00 on December 14 to 05:00 on December 15, 2023

200 GB

The data backup size is 2,200 GB, which is 200 GB more than the free quota, and the billable data backup has been retained for 24 hours. Therefore, the fee is 0.00006 × 200 × 24 = USD 0.288.

05:00 on December 15 to 05:00 on December 16, 2023

400 GB

The data backup size is 2,400 GB, which is 400 GB more than the free quota, and the billable data backup has been retained for 24 hours. Therefore, the fee is 0.00006 × 400 × 24 = USD 0.576.

05:00 on December 16 to 05:00 on December 17, 2023

600 GB

The data backup size is 2,600 GB, which is 600 GB more than the free quota, and the billable data backup has been retained for 24 hours. Therefore, the fee is 0.00006 × 600 × 24 = USD 0.864.

05:00 on December 17 to 05:00 on December 18, 2023

800 GB

The data backup size is 2,800 GB, which is 800 GB more than the free quota, and the billable data backup has been retained for 24 hours. Therefore, the fee is 0.00006 × 800 × 24 = USD 1.152.

05:00 on December 18 to 05:00 on December 19, 2023

1,000 GB

The data backup size is 3,000 GB, which is 1,000 GB more than the free quota, and the billable data backup has been retained for 24 hours. Therefore, the fee is 0.00006 × 1,000 × 24 = USD 1.44.

05:00 on December 19 to 05:00 on December 20, 2023

1,200 GB

The size of data backup retained for more than 15 days is 200 GB. The size of data backup retained for less than 15 days is 3,000 GB. The free quota is 2,000 GB. Therefore, the billable data backup size is 200 + (3,000 - 2,000) = 1,200 GB. Given that the billable data backup has been retained for 24 hours, the fee is 0.00006 × 1,200 × 24 = USD 1.728.

···

···

···

The total fees are calculated as follows:

  • From 05:00 on December 4 to 05:00 on December 19, the total fee for those 15 days is: 0.288 + 0.576 + 0.864 + 1.152 + 1.44 = USD 4.32.

  • From 05:00 on December 4 to 05:00 on December 20, the total fee for those 16 days is: 0.288 + 0.576 + 0.864 + 1.152 + 1.44 + 1.728 = USD 6.048.

Billing example of log backups

Note

The total size of log backups changes with the business in real time, and log backups are charged by hour based on the actual backup size.

Assume that you have purchased a cluster instance in the China (Hong Kong) region. The cluster has a storage space of 1,000 GB, so the free quota for log backups is 500 GB. The log backup is performed at 03:00 every day. The first log backup started at 03:00 on December 4, 2023 and 1 GB of log backups were generated every hour. Then, the system calculated the fees at 04:00 for the first time. In this way, 24 GB of log backups are accumulated every day. You are charged based on the hourly unit price when the total log backup size exceeds the free quota of 500 GB or the log backup retention period exceeds 15 days.

The following table describes the backup sizes over time.

Backup/Date

December 4

···

December 19

···

03:00

04:00

05:00

03:00

04:00

05:00

Incremental backup size (GB)

0

1

1

···

1

1

1

···

Total log backup size (GB)

0

1

2

···

360

361

362

···

The following table describes the billing details.

Time range

Billable log backup size

Fee

03:00 on December 4 to 03:00 on December 19, 2023

0

The log backup size does not exceed 500 GB, which is half the size of the cluster storage space, and the backup retention period does not exceed 15 days. No fee is charged.

03:00 on December 19 to 04:00 on December 19, 2023

1 GB

The size of log backups retained for more than 15 days is 1 GB. The size of log backups retained for less than 15 days is 360 GB, which is less than the free quota of 500 GB. The billable log backups have been retained for 1 hour. Therefore, the fee is 0.00006 × 1 × 1 = USD 0.00006.

04:00 on December 19 to 05:00 on December 19, 2023

2 GB

The size of log backups retained for more than 15 days is 2 GB. The size of log backups retained for less than 15 days is 360 GB, which is less than the free quota of 500 GB. The billable log backups have been retained for 1 hour. Therefore, the fee is 0.00006 × 2 × 1 = USD 0.00012.

05:00 on December 19 to 06:00 on December 19, 2023

3 GB

The size of log backups retained for more than 15 days is 3 GB. The size of log backups retained for less than 15 days is 360 GB, which is less than the free quota of 500 GB. The billable log backups have been retained for 1 hour. Therefore, the fee is 0.00006 × 3 × 1 = USD 0.00018.

06:00 on December 19 to 07:00 on December 19, 2023

4 GB

The size of log backups retained for more than 15 days is 4 GB. The size of log backups retained for less than 15 days is 360 GB, which is less than the free quota of 500 GB. The billable log backups have been retained for 1 hour. Therefore, the fee is 0.00006 × 4 × 1 = USD 0.00024.

07:00 on December 19 to 08:00 on December 19, 2023

5 GB

The size of log backups retained for more than 15 days is 5 GB. The size of log backups retained for less than 15 days is 360 GB, which is less than the free quota of 500 GB. The billable log backups have been retained for 1 hour. Therefore, the fee is USD 0.00006 × 5 × 1 = USD 0.0003.

···

···

···

The total fees are calculated as follows: From 03:00 on December 4 to 08:00 on December 19, the total fee is: 0.00006 + 0.00012 + 0.00018 + 0.00024 + 0.0003 = USD 0.0009.

Billing for archive backup

Archive backup files are retained for at least 60 days. You will be charged for 60-day retention even if the retention period is shorter than 60 days. The following tables list the unit prices for archive data backups and archive log backups. You will be charged for 1 GB if the size is less than 1 GB.

Chinese mainland

Billable item

Region

Unit price per hour

Data Backup

Chinese mainland

USD 0.000016/GB

Log Backup

Chinese mainland

USD 0.000016/GB

Asia Pacific and North America

Billable item

Region

Unit price per hour

Data Backup

China (Hong Kong), Singapore, Indonesia (Jakarta), US (Silicon Valley), and US (Virginia)

USD 0.000024/GB

Log Backup

USD 0.000024/GB

Billing for remote backup

The following table lists the unit prices for remote data backups and remote log backups. You will be charged for 1 GB if the size is less than 1 GB.

Chinese mainland

Billable item

Region

Unit price per hour

Data Backup

Chinese mainland

USD 0.00016/GB

Log Backup

Chinese mainland

USD 0.00016/GB

Reduce backup costs

You can specify an appropriate backup frequency in backup settings to reduce backup costs.