Creates an SAP HANA backup plan.
Operation description
A backup plan associates a data source with a backup policy and other information required for backup. After the backup plan is executed, a backup job is generated to record the backup progress and results. If the backup job succeeds, a backup snapshot is generated. You can use the backup snapshot to create a restore job.
A backup plan supports only one data source.
A backup plan supports only a single backup cycle policy with a fixed time interval.
A backup plan can back 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 SAP HANA instance ID. |
cl-00024vyjj9******v |
| PlanName |
string |
Yes |
The name of the backup plan. |
plan-20220110-113108 |
| Schedule |
string |
Yes |
The backup policy. Valid 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 return code. A value of 200 indicates success. |
200 |
| Message |
string |
The return message. The value successful is returned if the request is successful, and an error message is returned if the request fails. |
successful |
| RequestId |
string |
The ID of the request. |
33AA3AAE-89E1-5D3A-A51D-0C0A80850F68 |
| PlanId |
string |
The ID of the backup plan. |
pl-000756jdlk2zmqig2nea |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
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.