Creates a backup plan for an SAP HANA instance.
Operation description
-
A backup plan defines the data source, backup policy, and other configurations. When you execute a backup plan, a backup job is generated to record the backup progress and result. If the backup job succeeds, a backup snapshot is generated. You can use the snapshot to create a restore job.
-
You can specify only one type of data source in a backup plan.
-
A backup plan supports only one interval as a backup cycle.
-
Each backup plan supports backing up data to only one backup vault.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:CreateHanaBackupPlan |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VaultId |
string |
Yes |
The ID of the backup vault. |
v-0002pcwhdn******wmi |
| ClusterId |
string |
Yes |
The ID of the SAP HANA instance. |
cl-00024vyjj9******v |
| PlanName |
string |
Yes |
The name of the backup plan. |
plan-20220110-113108 |
| Schedule |
string |
Yes |
The backup policy. Format:
|
I|1602673264|P1D |
| BackupType |
string |
Yes |
The backup type. Valid values:
|
COMPLETE |
| DatabaseName |
string |
Yes |
The name of the database. |
SYSTEMDB |
| BackupPrefix |
string |
No |
The backup prefix. |
DIFF_DATA_BACKUP |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfmvnf22m7itha |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The HTTP status code. The value 200 indicates success. |
200 |
| Message |
string |
The response message. Returns "successful" for successful requests, or an error message for failed requests. |
successful |
| RequestId |
string |
The request ID. |
33AA3AAE-89E1-5D3A-A51D-0C0A80850F68 |
| PlanId |
string |
The ID of the backup plan. |
pl-000756jdlk2zmqig2nea |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "33AA3AAE-89E1-5D3A-A51D-0C0A80850F68",
"PlanId": "pl-000756jdlk2zmqig2nea",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.