tencent cloud

All product documents
TencentDB for PostgreSQL
Backup Space Billing
Last updated: 2024-01-24 11:08:34
Backup Space Billing
Last updated: 2024-01-24 11:08:34

Overview

The backup space is used to store the backup files (automatic data backups, manual data backups, and log backups) of all TencentDB for PostgreSQL instances in a region. TencentDB for PostgreSQL offers a free tier of backup capacity based on the region. During the beta test of the backup billing, the free tier is equivalent to 700% of the total storage capacity of all the primary instances in your region, but the multiple will change to 100% after the backup billing official starts. For calculation examples, see Calculation Formula.
Note:
Free backup space is only available when you purchase a primary instance.
The backup space can be viewed on the database backup page in the [TencentDB for MySQL console].

Comparison of the free tier between during beta test and official start of the backup billing

Billed Period
Free Tier
During the beta test of backup billing
700% of storage space
After the backup billing officially starts
100% of storage space

Backup pricing

Backup space in excess of the free tier is priced at 0.000118 USD/GB/hour in the Chinese mainland and 0.000133 USD/GB/hour outside the Chinese mainland.
If the excessive backup space is less than 1 GB, no fees will be charged. If the time period is less than one hour, it will be calculated as one hour. TencentDB for PostgreSQL adopts a flexible giveaway policy, so you generally don't need to pay for the backup space for most instances.

Billing schedule for backup space

From 00:00 on July 1, 2023, the beta test of backup billing will officially carried out in all regions.
From 0:00 on August 1, 2023, the backup billing will be officially carried out in all regions.

Calculation formula

During the beta test of backup billing:

Free backup capacity in one region = Sum of storage capacity of all TencentDB for PostgreSQL primary instances in that region * 700%
Paid backup capacity in one region = Data backup volume + log backup volume - free backup capacity (all values are for that region)

After the backup billing officially starts:

Free backup capacity in one region = Sum of storage capacity of all TencentDB for PostgreSQL primary instances in that region * 100%
Paid backup capacity in one region = Data backup volume + log backup volume - free backup capacity (all values are for that region)

Billing examples

After the backup billing officially starts, the calculation method is as follows:
You have purchased three instances in Guangzhou region, named A, B, and C, and their configurations are as follows:
A (Running):
1-Primary-1-standby, 4-core 8 GB memory per node, 200 GB storage
Backup space occupied: 5000 GB
B (Running):
1-Primary-1-standby, 4-core 8 GB memory per node, 300GB storage
Backup space occupied: 200GB
C (Isolated):
1-Primary-1-standby, 4-core 8 GB memory per node, 200GB storage
Backup space occupied: 100GB
The calculation formulas for free backup space, occupied paid space, and occupied free space are as follows:
Free backup space = (backup space purchased by A + backup space purchased by B + backup space purchased by C) 100% = (200+300+200) 100% = 700 GB.
Occupied paid space = paid space occupied by A + paid space occupied by B + paid space occupied by C = (5000-200) + 0 + 0 = 4800 GB.
Occupied free space = free space occupied by A + free space occupied by B + free space occupied by C = 200 + 200 + 100 = 500 GB.
Note
The free space occupied by an instance is the minimum value of purchased and occupied storage for the instance.
The paid space occupied by an instance is the excess beyond the purchased storage space. If the occupied space does not exceed the purchased space, the paid space of the instance is 0.
During the beta test of the backup billing, the calculation method is as follows:
You have purchased three instances in Guangzhou region, named A, B, and C, and their configurations are as follows:
A (Running):
1-Primary-1-standby, 4-core 8 GB memory per node, 200 GB storage
Backup space occupied: 5000GB
B (Running):
1-Primary-1-standby, 4-core 8 GB memory per node, 300GB storage
Backup space occupied: 200GB
C (Isolated):
1-Primary-1-standby, 4-core 8 GB memory per node, 200 GB storage
Backup space occupied: 100GB
The calculation formulas for free backup space, occupied paid space, and occupied free space are as follows:
Free backup space = (backup space purchased by A + backup space purchased by B + backup space purchased by C) 100% = (200+300+200) 700% = 4900 GB.
Occupied paid space = paid space occupied by A + paid space occupied by B + paid space occupied by C = (5000-200 * 7) + 0 + 0 = 3600 GB.
Occupied free space = free space occupied by A + free space occupied by B + free space occupied by C = (200 * 7) + 200 + 100 = 500 GB.

Backup lifecycle

Backups are not subject to change over the instance lifecycle.
After an instance is moved into the recycle bin, the automatic backup continues. Rollback and manual backup are not allowed, but backups can be downloaded. The excess beyond the free tier is still billed.
After the instance is terminated, the backup data will not be deleted, and the system will continue to provide you with 7-day free quota. If you no longer need the backup data of this instance, you can delete it by yourself, and the data cannot be recovered after deletion.
Note
When a monthly subscribed instance or a pay-as-you-go instance is terminated, the system will provide you with an additional "final" full physical backup to avoid nonrecovery events due to misoperation. The "final" backup capacity is not included in the backup space statistics, hence no fees are charged. You can download it in the data backup list. The "final" physical backups are automatically deleted seven days after the instance is terminated.

Overdue payments

Monthly subscribed instance

If the instance has not expired but your account has overdue payments, the backup service is downgraded, manual backup and backup download are not allowed, but automatic backup continues, where excessive backup space is still billed. If you need to perform manual backup, top up your account to a positive balance.

Pay-as-you-go instance

If your account has overdue payments, the backup service is downgraded, manual backup and backup download are not allowed, but automatic backup continues, where excessive backup space is still billed. Backups are not subject to change over the instance lifecycle. For more information, see Backup Lifecycle.

Suggestions for reducing backup costs

Delete unnecessary manual backup
Reduce the backup frequency for non-core businesses. You can adjust the backup cycle in the console, and the frequency should be at least twice a week.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon