Overview
Backup space is used to store backup files for all TencentDB for PostgreSQL instances in a specific region, which consist of automatic data backups, manual data backups, and log backups. TencentDB for PostgreSQL provides a certain amount of free backup space for each instance. During the beta test of backup billing, the free backup space is the sum of the storage space of your primary instances multiplied by 700%. After the backup billing officially starts, the free backup space will be the sum of the storage space of your primary instances multiplied by 100%. For calculation examples, please refer to 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 PostgreSQL console].
Comparison of the free tier between during beta test and official start of the backup billing
Billing Period | Free Tier |
During the beta test of backup billing | 700% of instance storage space |
After the backup billing officially starts | 100% of instance storage space |
Backup Pricing
For backup space exceeding the free tier, the price in the Chinese mainland region is 0.0008 CNY/GB/hour, while in other regions, the price is 0.0009 CNY/GB/hour.
Billable space of less than 1 GB is not billed, and a billable time period of less than one hour is counted 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 be 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 for a single instance = Sum of storage capacity of the purchased TencentDB for PostgreSQL primary instance * 700%
Charges for backup space (per instance) = Data backup volume (for that instance) + Log backup volume (for that instance) - Free backup space (for that instance)
After the backup billing officially starts:
Free backup capacity per instance = Sum of storage capacity of the purchased TencentDB for PostgreSQL primary instance * 100%
Charges for backup space (per instance) = Data backup volume (for that instance) + Log backup volume (for that instance) - Free backup space (for that instance)
Billing Example
After the backup billing officially starts, the calculation method is as follows:
You have purchased three instances in the 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: 1000GB.
B (Running):
1-Primary-1-standby, 4-core 8 GB memory per node, 1000 GB 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 = A's purchased space 100% + B's purchased space 100% + C's purchased space * 100% = 200 GB + 1000 GB + 200 GB = 1400 GB.
Occupied paid space = paid space occupied by A + paid space occupied by B + paid space occupied by C = (1000-200) GB + 0 GB + 0 GB = 800 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 backup space occupied by an instance is the minimum value of the purchased storage space and the occupied backup storage space for that 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 the 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: 1000GB.
B (Running):
1-Primary-1-standby, 4-core 8 GB memory per node, 1000 GB 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 = (A's purchased space 700%) + (B's purchased space 700%) + (C's purchased space * 700%) = 1400 GB + 2100 GB + 1400 GB = 4900 GB.
Occupied paid space = paid space occupied by A + paid space occupied by B + paid space occupied by C = 0 GB + 0 GB + 0 GB = 0 GB.
Occupied free space = free space occupied by A + free space occupied by B + free space occupied by C = 1000 GB + 200 GB + 100 GB = 1300 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 a 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 Instances
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.