All Products
Search
Document Center

Cloud Backup:UpdateHanaBackupPlan

Last Updated:Oct 26, 2026

Updates an SAP HANA backup plan.

Operation description

  • A backup plan associates a data source with a backup policy and other information required for backups. After a 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 interval.

  • A backup plan can back up data to only one backup vault.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

hbr:UpdateHanaBackupPlan

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

VaultId

string

Yes

The ID of the backup vault.

v-0000rcw******5c6

ClusterId

string

Yes

The SAP HANA instance ID.

cl-0005dhe******f38

PlanId

string

Yes

The ID of the backup plan.

pl-000br3cm4dqvmtph7cul

PlanName

string

No

The name of the backup plan.

plan-20211109-162411

Schedule

string

No

The backup policy. Valid format: I|{startTime}|{interval}. This format specifies that a backup job is executed at an interval of {interval} starting from {startTime}. Missed backup jobs are not compensated. If the previous backup job is not completed, the next backup job is not triggered. For example, I|1631685600|P1D specifies that a backup is performed every day starting from 14:00:00 on September 15, 2021.

  • startTime: the start time of the backup. The value is a UNIX timestamp in seconds.

  • interval: the ISO 8601 time interval. For example, PT1H specifies an interval of one hour, and P1D specifies an interval of one day.

I|1602673264|P1D

BackupPrefix

string

No

The backup prefix.

COMPLETE_DATA_BACKUP

ResourceGroupId

string

No

The ID of the resource group.

rg-acfmze36euddwjq

Response elements

Element

Type

Description

Example

object

Code

string

The return code. A value of 200 indicates success.

200

Message

string

The return message. A value of successful is returned for a successful request, and an error message is returned for a failed request.

successful

RequestId

string

The ID of the request.

F23BCC67-09B4-582C-AE70-C813C8548DCC

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.

  • false: The request fails.

true

Examples

Success response

JSON format

{
  "Code": "200",
  "Message": "successful",
  "RequestId": "F23BCC67-09B4-582C-AE70-C813C8548DCC",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.