Updates the backup retention period of an SAP HANA database.
Operation description
- If you want to update the backup parameters of a database, you can call the UpdateHanaBackupSetting operation.
- HBR deletes the expired catalogs and data that are related to Backint and file backup. The deleted catalogs and data cannot be restored. We recommend that you set the retention period based on your business requirements.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
VaultId | string | No | The ID of the backup vault. | v-000fb0v2ly******k6 |
ClusterId | string | No | The ID of the SAP HANA instance. | cl-00024vyjj******srrq |
Schedule | string | Yes | The policy to update the retention period. Format:
| I|0|P1D |
RetentionDays | long | Yes | The number of days for which the backup is retained. If you set the Disabled parameter to false, the backup is retained for the number of days specified by this parameter. | 90 |
Disabled | boolean | Yes | Specifies whether to permanently retain the backup. Valid values:
| false |
DatabaseName | string | Yes | The name of the database. | SYSTEMDB |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "successful",
"RequestId": "7BEE26EB-8EE3-57A0-A9DE-5FD700165DE5",
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history