Mengkueri periode retensi cadangan database SAP HANA.
Deskripsi operasi
If you want to query the backup parameters of a database, you can call the DescribeHanaBackupSetting operation.
Cloud Backup 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.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:DescribeHanaRetentionSetting |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VaultId |
string |
Yes |
ID penyimpanan cadangan. |
v-000ii8t******ntrt2 |
| ClusterId |
string |
Yes |
ID instans SAP HANA. |
cl-0002ys1i******wwtf |
| DatabaseName |
string |
No |
Nama database. |
C4P |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
280DD872-EE25-52E8-9CB4-491067173DD0 |
| VaultId |
string |
The ID of the backup vault. |
v-0006wkn7******zkn |
| Schedule |
string |
The policy to update the retention period. Format:
|
I|0|P1D |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| DatabaseName |
string |
The database name. |
Q01 |
| Disabled |
boolean |
Indicates whether the backup is permanently retained. Valid values:
|
false |
| Code |
string |
The response code. The status code 200 indicates that the request was successful. |
200 |
| RetentionDays |
integer |
The number of days for which the backup is retained. If the value of the Disabled parameter is false, the backup is retained for the number of days specified by this parameter. |
3650 |
| Message |
string |
The returned message. If the request was successful, "successful" is returned. If the request failed, an error message is returned. |
successful |
| ClusterId |
string |
The ID of the SAP HANA instance. |
cl-0003jyv******fsku5m |
Contoh
Respons sukses
JSONformat
{
"RequestId": "280DD872-EE25-52E8-9CB4-491067173DD0",
"VaultId": "v-0006wkn7******zkn",
"Schedule": "I|0|P1D",
"Success": true,
"DatabaseName": "Q01",
"Disabled": false,
"Code": "200",
"RetentionDays": 3650,
"Message": "successful",
"ClusterId": "cl-0003jyv******fsku5m"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.