Configures the backup policy of 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. |
gp-bp*************** |
| PreferredBackupTime |
string |
Yes |
The backup window in the HH:mmZ-HH:mmZ format (UTC). Default value: 00:00-01:00. |
15:00Z-16:00Z |
| PreferredBackupPeriod |
string |
Yes |
The backup cycle. Separate multiple days of the week with commas (,). Valid values:
|
Tuesday,Thursday,Saturday |
| BackupRetentionPeriod |
integer |
No |
The number of days for which data backup files are retained. Valid values: 1 to 7. Default value: 7. |
7 |
| EnableRecoveryPoint |
boolean |
No |
Specifies whether to enable automatic point-in-time backup. Valid values:
Default value: true. |
true |
| RecoveryPointPeriod |
string |
No |
The frequency of point-in-time backup. Valid values:
Default value: 8. |
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.