Configures the backup policy for an AnalyticDB for PostgreSQL instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:ModifyBackupPolicy |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance. Note
You can call the DescribeDBInstances operation to query the details of all AnalyticDB for PostgreSQL instances in a specified region, including instance IDs. |
gp-bp*************** |
| PreferredBackupTime |
string |
Yes |
The data backup time. Default value: 00:00Z-01:00Z. Format: HH:mmZ-HH:mmZ (UTC). |
15:00Z-16:00Z |
| PreferredBackupPeriod |
string |
Yes |
The data backup cycle. Separate multiple values with commas (,). Valid values:
|
Tuesday,Thursday,Saturday |
| BackupRetentionPeriod |
integer |
No |
The number of days for which data backups are retained. Default value: 7. Maximum value: 7. Valid values: 1 to 7. |
7 |
| EnableRecoveryPoint |
boolean |
No |
Specifies whether to enable automatic recovery point creation. Valid values:
|
true |
| RecoveryPointPeriod |
string |
No |
The frequency of recovery points. Valid values:
|
8 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
DA147739-AEAD-4417-9089-65********** |
Examples
Success response
JSON format
{
"RequestId": "DA147739-AEAD-4417-9089-65**********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.