API overview
API standards and multilingual preset SDKs
The OpenAPI of this product (hbr/2017-09-08) uses the RPC signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.
Custom signature scenarios
If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.
Account and security preparation
Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.
Backup vault
|
API |
Title |
Description |
| CreateVault | Create a backup vault | Creates a backup vault. |
| CreateReplicationVault | **[Deprecated]** create a replication target vault and configure cross-region replication | **[Deprecated]** Creates a replication target vault and configures cross-region replication. This API operation does not support cross-account replication and is deprecated. Use CreateVault and CreateVaultReplication instead for full capabilities. |
| DeleteVault | DeleteVault | Deletes a backup vault. |
| UpdateVault | Update the configuration of a backup vault | Updates the configuration of a backup vault. |
| DescribeVaults | Query backup vault information | Queries the information of one or more backup vaults that meet the specified conditions. |
Backup plan
|
API |
Title |
Description |
| CreateBackupPlan | Create a backup plan | Creates a backup plan. |
| DeleteBackupPlan | Delete a backup plan | Deletes a backup plan. |
| DisableBackupPlan | DisableBackupPlan | Disables a backup plan. |
| EnableBackupPlan | EnableBackupPlan | Resumes a backup plan. |
| UpdateBackupPlan | Update a backup plan | Updates a backup plan. |
| DescribeBackupPlans | Query backup plans that meet specified conditions | Retrieves one or more backup plans that meet the specified conditions. |
| ExecuteBackupPlan | ExecuteBackupPlan | Executes a backup plan. |
Backup policy
|
API |
Title |
Description |
| CreatePolicyV2 | Create a policy | Creates a policy. |
| DeletePolicyV2 | DeletePolicyV2 | Deletes a policy. |
| UpdatePolicyV2 | Modify a policy | Modifies a policy. |
| DescribePoliciesV2 | Query one or more policies | Queries one or more policies. |
| CreatePolicyBindings | Associate data sources with a policy | Binds one or more data sources to a policy. |
| DeletePolicyBinding | Dissociate a policy from data sources | Dissociates a data source from a policy. After the dissociation, the policy can no longer protect the data source. Proceed with caution. |
| UpdatePolicyBinding | Modify the association between a policy and a data source | Modifies the association between a policy and a data source. |
| DescribePolicyBindings | Query policy binding list | Queries one or more data sources bound to a policy, or queries one or more policies bound to a data source. |
| ExecutePolicyV2 | Execute Policy | Execute a policy for one or all bound data sources. |
Backup client
|
API |
Title |
Description |
| DeleteBackupClient | DeleteBackupClient | Deletes a Cloud Backup client. |
| DeleteBackupClientResource | Delete backup client resources | Deletes the resources associated with a backup client. |
| UpdateClientSettings | Update client configuration | Updates the configuration of a backup client. |
| DescribeBackupClients | Retrieve backup client information | Retrieves information about one or more backup clients that meet the specified conditions. |
| InstallBackupClients | InstallBackupClients | Installs backup clients on one or more ECS instances. |
| UninstallBackupClients | Uninstall the backup client | Uninstalls the backup client from one or more ECS instances. |
| UpgradeBackupClients | UpgradeBackupClients | Upgrades an HBR client on one or more Elastic Compute Service (ECS) instances. |
Backup snapshot
|
API |
Title |
Description |
| ListSnapshots | Query backup points | Queries backup points. |
| DeleteSnapshot | Delete a backup snapshot | Deletes a backup snapshot. |
| DescribeOtsTableSnapshots | DescribeOtsTableSnapshots | Queries the details about Tablestore instances that are backed up. |
| DescribeRecoverableOtsInstances | DescribeRecoverableOtsInstances | Queries the tables of a restorable Tablestore instance. |
| SearchHistoricalSnapshots | Get backup snapshots | Retrieves one or more historical backup snapshots that meet the specified conditions. |
| DescribeUdmSnapshots | DescribeUdmSnapshots | Queries the snapshots of full backups. |
Restore job
|
API |
Title |
Description |
| CreateRestoreJob | Create a restore job | Creates a restore job. |
| CancelRestoreJob | Cancel a restore job | Cancels a restore job. |
| DescribeRestoreJobs2 | DescribeRestoreJobs2 | Queries restore jobs that match specified criteria. |
Backup job
|
API |
Title |
Description |
| CancelBackupJob | Cancel a backup job | Cancels a backup job. |
| CreateBackupJob | Create a backup job | Creates a manual backup job. |
| DescribeBackupJobs2 | Query backup jobs | Queries one or more backup jobs that meet the specified conditions. |
SAP HANA backup
|
API |
Title |
Description |
| CreateHanaBackupPlan | Create an SAP HANA backup plan | Creates an SAP HANA backup plan. |
| CreateHanaInstance | Register an SAP HANA instance | Registers an SAP HANA instance. |
| CreateClients | Install clients | Installs one or more Cloud Backup clients on a specified instance. |
| DeleteClient | DeleteClient | Deletes a client. |
| CreateHanaRestore | Create an SAP HANA restore job | Creates a restore job for an SAP HANA database. |
| DeleteHanaBackupPlan | DeleteHanaBackupPlan | Deletes an SAP HANA backup plan. |
| DeleteHanaInstance | DeleteHanaInstance | Deletes an SAP HANA instance. |
| UninstallClient | Uninstall a client | Uninstalls an HBR backup client. |
| UpdateHanaBackupPlan | Update an SAP HANA backup plan | Updates an SAP HANA backup plan. |
| EnableHanaBackupPlan | EnableHanaBackupPlan | Enables an SAP HANA backup plan. |
| DisableHanaBackupPlan | DisableHanaBackupPlan | Disables an SAP HANA backup plan. |
| UpdateHanaInstance | UpdateHanaInstance | Updates an SAP HANA instance. |
| UpgradeClient | UpgradeClient | Upgrades the Cloud Backup client. |
| StartHanaDatabaseAsync | StartHanaDatabaseAsync | Starts an SAP HANA database. |
| StopHanaDatabaseAsync | Stop an SAP HANA database | Stops an SAP HANA database. |
| UpdateHanaRetentionSetting | Update the backup retention period of an SAP HANA database | Updates the backup retention period of an SAP HANA database. |
| UpdateHanaBackupSetting | Update SAP HANA database backup parameters | Updates the backup parameters of an SAP HANA database. |
| DescribeHanaBackupPlans | DescribeHanaBackupPlans | Queries for one or more SAP HANA backup plans that match specified criteria. |
| DescribeHanaInstances | DescribeHanaInstances | Queries one or more SAP HANA instances that meet the specified conditions. |
| DescribeClients | DescribeClients | Queries one or more Cloud Backup clients that meet the specified conditions. |
| DescribeHanaDatabases | DescribeHanaDatabases | Queries the information about SAP HANA databases. |
| DescribeHanaRetentionSetting | DescribeHanaRetentionSetting | Queries the backup retention period of an SAP HANA database. |
| DescribeHanaBackupSetting | DescribeHanaBackupSetting | Queries the backup parameters of an SAP HANA database. |
| DescribeHanaBackupsAsync | DescribeHanaBackupsAsync | Queries one or more SAP HANA backups that meet the specified conditions. |
| DescribeHanaRestores | DescribeHanaRestores | Queries one or more SAP HANA restore jobs that meet the specified conditions. |
ECS backup essential edition
|
API |
Title |
Description |
| DeleteAirEcsInstance | Remove a restore-only ECS instance from ECS backup essential edition | Removes a restore-only ECS instance from ECS Backup Essential Edition. |
Container backup
|
API |
Title |
Description |
| DescribeContainerResource | DescribeContainerResource | Queries the list of container cluster resources. |
| DeleteContainerCluster | DeleteContainerCluster | Unregisters a container cluster record in Cloud Backup. After you unregister the cluster, you cannot recover backups of the cluster. |
| DescribeContainerCluster | DescribeContainerCluster | Queries one or more container clusters that meet the specified conditions. |
| UpdateContainerCluster | Update Container Cluster Information | Update container cluster information, including the container cluster name, network type, etc. |
| AddContainerCluster | Register a container cluster | Registers a container cluster. |
Others
|
API |
Title |
Description |
| OpenHbrService | Activate Cloud backup | Activates the Cloud Backup service. |
| DescribeRegions | Query available regions | Queries available regions. |
| DescribeTask | DescribeTask | Queries an asynchronous job. |
| DescribeVaultReplicationRegions | DescribeVaultReplicationRegions | Queries the regions that support cross-region replication. |
| DetachNasFileSystem | Delete an internal mount target | Deletes an internal mount target of an Apsara File Storage NAS file system created by Cloud Backup. |
| GenerateRamPolicy | GenerateRamPolicy | Generates a Resource Access Management (RAM) policy. |
| ChangeResourceGroup | Change the resource group of an instance | Modifies the resource group of an instance. |
| CreateTempFileUploadUrl | CreateTempFileUploadUrl | Generates the parameters and signature required for a file upload URL. |
| GetTempFileDownloadLink | GetTempFileDownloadLink | Obtains download links of files such as job reports. |
| CheckRole | Check permissions | Checks whether the current user has permissions to access a specific resource or page. |
| DescribeCrossAccounts | DescribeCrossAccounts | Queries cross-account management relationships. |
| DeleteUdmEcsInstance | DeleteUdmEcsInstance | Stops protection for Elastic Compute Service (ECS) instance backup. |
| DeleteUdmDisk | DeleteUdmDisk | Cancels a protected disk. |
| AddCrossAccount | Add a cross-account management relationship | Adds a cross-account management relationship. |
| AddDataSource | Create a data source | Creates a data source. |
| BrowseFiles | Browse backup files | Browses the list of backup files. |
| CreateVaultReplication | Configure backup vault replication | Configures backup vault replication. |
| DeleteCrossAccount | DeleteCrossAccount | Deletes a cross-account management relationship. |
| DeleteVaultReplication | DeleteVaultReplication | Stops backup vault replication. |
| DescribeDataSources | DescribeDataSources | Queries a list of data sources. Filter results by data source type, data source ID, data source name, or client group ID. |
| GetBasicStatistics | GetBasicStatistics | Retrieves basic statistics for Backup. |
| ListProtectedResources | Query protected resources | Queries the list of protected resources. |
| RemoveDataSource | RemoveDataSource | Deletes a data source. |
| UpdateDataSource | UpdateDataSource | Updates the data source configuration. |
| DescribeFeatureTrialInfo | Retrieve feature free trial information | Queries the free trial activation status and expiration time of a specified feature. Currently, only the free trial information of Tablestore backup can be queried. |
| GetTrialInfo | Retrieve free trial information | Queries the free trial information of a specified OSS bucket or NAS file system. |