All Products
Search
Document Center

Cloud Backup:DescribeVaults

Last Updated:Oct 23, 2026

Queries the information of one or more backup vaults that meet the specified conditions.

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:DescribeVaults

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

VaultId

string

No

The ID of the backup vault.

v-*********************

VaultRegionId

string

No

The ID of the region to which the backup vault belongs.

cn-shanghai

Status

string

No

The status of the backup vault. Valid values:

  • UNKNOWN: unknown

  • INITIALIZING: initializing

  • CREATED: created

  • ERROR: error

CREATED

PageNumber

integer

No

The page number. Pages start from page 1. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Minimum value: 1. Maximum value: 99. Default value: 10.

10

VaultType

string

No

The type of the backup vault. Valid values:

  • STANDARD: A standard vault. It can be used for ECS File Backup Standard Edition, OSS backup, and NAS backup.

  • OTS_BACKUP: A Tablestore vault. It can only be used for Tablestore backup. Tablestore requires this type of vault.

STANDARD

Tag

array<object>

No

The tag information. A maximum of 20 tags are supported.

6a745bceffb042959b3b5206d6f12ad1

object

No

The tag information.

Key

string

No

The key of the tag.

key1

Value

string

No

The value of the tag.

value1

ResourceGroupId

string

No

The ID of the resource group.

rg-*********************

VaultName

string

No

The name of the backup vault. The name must be 1 to 64 characters in length.

vaultname

VaultOwnerId

integer

No

The ID of the account to which the backup vault belongs.

144******732

Replication

boolean

No

Specifies whether to query replication target vaults.

true

Response elements

Element

Type

Description

Example

object

Code

string

The return code. 200 indicates success.

200

Message

string

The returned message. "successful" is returned for a successful request, and the corresponding error message is returned if an error occurs.

successful

PageNumber

integer

The page number. Pages start from page 1. Default value: 1.

1

PageSize

integer

The number of entries per page. Minimum value: 1. Maximum value: 99. Default value: 10.

10

RequestId

string

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: Successful.

  • false: Failed.

true

TotalCount

integer

The total number of backup vaults returned.

8

Vaults

object

{'Vault': []}

Vault

array<object>

The list of backup vaults.

{'Vault': []}

array<object>

The list of backup vaults.

ArchiveBytesDone

integer

The amount of backup data in the archive tier. Unit: bytes.

1024000

ArchiveStorageSize

integer

The billable capacity of the archive tier. Unit: bytes.

1024000

BackupPlanStatistics

object

The statistics of backup plans in the backup vault.

Archive

integer

The number of archive plans.

1

CommonFileSystem

integer

The number of Cloud Paralleled File System (CPFS) backup plans.

1

CommonNas

integer

The number of general-purpose NAS backup plans.

1

Cpfs

integer

The CPFS backup.

3

Csg

integer

The number of Cloud Storage Gateway backup plans.

1

EcsFile

integer

The number of ECS File Backup Standard Edition backup plans.

1

EcsHana

integer

The number of SAP HANA backup plans.

1

Isilon

integer

The number of Isilon backup plans.

1

LocalFile

integer

The number of backup plans for the local service type.

1

LocalVm

integer

The number of local virtual machine backup plans.

1

MySql

integer

The number of MySQL backup plans.

1

Nas

integer

The number of NAS backup plans.

1

Oracle

integer

The number of Oracle backup plans.

1

Oss

integer

The number of OSS backup plans.

1

Ots

integer

The number of Tablestore backup plans.

1

SqlServer

integer

The number of SQL Server backup plans.

1

BucketName

string

The name of the OSS bucket used for the backup vault trial.

hbr-0005i51******t58

BytesDone

integer

The amount of backup data. Unit: bytes.

20

ChargeType

string

The billing method of the backup vault.

FREE

ChargedStorageSize

integer

The billable capacity of the archive vault. Unit: bytes.

1024000

CompressionAlgorithm

string

The encryption algorithm used to compress the backup vault. Valid values:

  • DISABLED: No compression or encryption.

  • SNAPPY: Uses the SNAPPY encryption algorithm.

  • ZSTD: Zstandard, a fast lossless compression algorithm.

ZSTD

CreatedTime

integer

The time when the backup vault was created. The value is a UNIX timestamp in seconds.

1554347313

Dedup

boolean

Indicates whether the data deduplication feature is enabled.

true

Description

string

The description of the vault.

vault description

EncryptType

string

The encryption type of the backup vault. Valid values:

  • NONE: Not encrypted.

  • HBR_PRIVATE: Cloud Backup provides secret key encryption (default).

  • KMS: Encrypted by using a customer-managed KMS key.

HBR_PRIVATE

IndexAvailable

boolean

Indicates whether the index is available and not being updated.

true

IndexLevel

string

The index level. Valid values:

  • OFF: No index is created.

  • META: Metadata index.

  • ALL: Full-text index.

OFF

IndexUpdateTime

integer

The time when the index was updated.

1639645628

KmsKeyId

string

The ID or alias of the custom key in Key Management Service (KMS). This parameter is required only when EncryptType is set to KMS.

alias/acs/acm

LatestReplicationTime

integer

The time of the last geo-redundancy backup synchronization. The value is a UNIX timestamp in seconds.

1554347313

RedundancyType

string

The data redundancy type of the backup vault. Valid values:

  • LRS: Locally redundant storage (LRS). LRS stores multiple copies of your data on multiple devices in the same zone to ensure data durability and availability in case of hardware failures.

  • ZRS: Zone-redundant storage (ZRS). ZRS stores your data across three zones in the same region. Your data remains accessible even if one zone becomes unavailable.

LRS

Replication

boolean

Indicates whether the backup vault is a geo-redundancy backup vault. Valid values:

  • true: The backup vault is a geo-redundancy backup vault.

  • false: The backup vault is a local backup vault.

false

ReplicationProgress

object

The replication progress of the backup vault.

HistoricalReplicationProgress

integer

The data replication progress of historical data in the backup vault. Valid values: 0 to 100.

100

NewReplicationProgress

integer

The latest replication time of incremental data in the backup vault.

1579413159

ReplicationSourceOwnerId

integer

The ID of the source account for replication.

123***7890

ReplicationSourceRegionId

string

The region ID of the source backup vault for the geo-redundancy backup vault. This parameter is valid only for geo-redundancy backup vaults.

cn-shanghai

ReplicationSourceVault

boolean

Indicates whether the backup vault is the source backup vault of a geo-redundancy backup vault. Valid values:

  • true: The backup vault is the source backup vault of a geo-redundancy backup vault.

  • false: The backup vault is not the source backup vault of a geo-redundancy backup vault.

false

ReplicationSourceVaultId

string

The ID of the source backup vault for the geo-redundancy backup vault.

v-*********************

ReplicationStatus

string

The replication status of the replication target vault.

RUNNING

ReplicationTargetOwnerId

integer

The ID of the account to which the replication target vault belongs.

123***7890

ReplicationTargetRegionId

string

The destination region of the geo-redundancy backup vault.

cn-shanghai

ReplicationTargetVaultId

string

The ID of the replication target vault.

v-123***7890

ResourceGroupId

string

The ID of the resource group.

rg-*********************

Retention

integer

The retention period of the backup vault. Unit: days.

2

RsTargetAccountIds

object

RsTargetAccountId

array

The target account for resource sharing.

integer

The target account for resource sharing.

123***7890

SearchEnabled

boolean

Indicates whether the backup search feature is enabled.

true

SnapshotCount

integer

The number of snapshots in the vault.

0

SourceTypes

object

SourceType

array

The type of the data source backed up in the backup vault.

string

The type of the backup data source.

ECS_FILE

Status

string

The status of the backup vault. Valid values:

  • UNKNOWN: Unknown.

  • INITIALIZING: Initializing.

  • CREATED: Created.

  • ERROR: Error.

CREATED

StorageSize

integer

The storage usage of the backup vault. Unit: bytes.

10

Tags

object

Tag

array<object>

The tag information of the backup vault.

object

The tag information of the backup vault.

Key

string

The tag key of the vault. Valid values of N: 1 to 20.

  • The key cannot start with aliyun or acs:.

  • The key cannot contain http:// or https://.

  • The key cannot be an empty string.

aaa

Value

string

The tag value of the vault. Valid values of N: 1 to 20.

  • The value cannot start with aliyun or acs:.

  • The value cannot contain http:// or https://.

  • The value cannot be an empty string.

a1

TrialInfo

object

The free trial attributes.

KeepAfterTrialExpiration

boolean

Indicates whether the billing method is changed to pay-as-you-go after the free trial expires.

true

TrialExpireTime

integer

The expiration time of the free trial.

1584597600

TrialStartTime

integer

The start time of the free trial.

1579413159

TrialVaultReleaseTime

integer

The release time of the free trial vault.

1594965600

UpdatedTime

integer

The time when the backup vault was updated. The value is a UNIX timestamp in seconds.

1554347313

VaultId

string

The ID of the backup vault.

v-*********************

VaultName

string

The name of the backup vault.

vaultname

VaultOwnerId

integer

The ID of the account to which the vault belongs.

123***7890

VaultRegionId

string

The ID of the region to which the backup vault belongs.

cn-shanghai

VaultStatusMessage

string

(Valid only for geo-redundancy backup vaults) The error status message of the vault. Valid values:

  • UNKNOWN_ERROR: An unknown error occurred.

  • SOURCE_VAULT_ALREADY_HAS_REPLICATION: The source vault for replication is already configured with another mirror vault.

SOURCE_VAULT_ALREADY_HAS_REPLICATION

VaultStorageClass

string

The storage class of the backup vault. The only valid value is STANDARD, which indicates Standard storage.

STANDARD

VaultType

string

The type of the backup vault. The only valid value is STANDARD, which indicates a standard vault.

STANDARD

WormEnabled

boolean

Indicates whether the backup lock feature is enabled.

true

Examples

Success response

JSON format

{
  "Code": "200",
  "Message": "successful",
  "PageNumber": 1,
  "PageSize": 10,
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "Success": true,
  "TotalCount": 8,
  "Vaults": {
    "Vault": [
      {
        "ArchiveBytesDone": 1024000,
        "ArchiveStorageSize": 1024000,
        "BackupPlanStatistics": {
          "Archive": 1,
          "CommonFileSystem": 1,
          "CommonNas": 1,
          "Cpfs": 3,
          "Csg": 1,
          "EcsFile": 1,
          "EcsHana": 1,
          "Isilon": 1,
          "LocalFile": 1,
          "LocalVm": 1,
          "MySql": 1,
          "Nas": 1,
          "Oracle": 1,
          "Oss": 1,
          "Ots": 1,
          "SqlServer": 1
        },
        "BucketName": "hbr-0005i51******t58",
        "BytesDone": 20,
        "ChargeType": "FREE",
        "ChargedStorageSize": 1024000,
        "CompressionAlgorithm": "ZSTD",
        "CreatedTime": 1554347313,
        "Dedup": true,
        "Description": "vault description",
        "EncryptType": "HBR_PRIVATE",
        "IndexAvailable": true,
        "IndexLevel": "OFF",
        "IndexUpdateTime": 1639645628,
        "KmsKeyId": "alias/acs/acm",
        "LatestReplicationTime": 1554347313,
        "RedundancyType": "LRS",
        "Replication": false,
        "ReplicationProgress": {
          "HistoricalReplicationProgress": 100,
          "NewReplicationProgress": 1579413159
        },
        "ReplicationSourceOwnerId": 0,
        "ReplicationSourceRegionId": "cn-shanghai",
        "ReplicationSourceVault": false,
        "ReplicationSourceVaultId": "v-*********************",
        "ReplicationStatus": "RUNNING",
        "ReplicationTargetOwnerId": 0,
        "ReplicationTargetRegionId": "cn-shanghai",
        "ReplicationTargetVaultId": "v-123***7890",
        "ResourceGroupId": "rg-*********************",
        "Retention": 2,
        "RsTargetAccountIds": {
          "RsTargetAccountId": [
            0
          ]
        },
        "SearchEnabled": true,
        "SnapshotCount": 0,
        "SourceTypes": {
          "SourceType": [
            "ECS_FILE"
          ]
        },
        "Status": "CREATED",
        "StorageSize": 10,
        "Tags": {
          "Tag": [
            {
              "Key": "aaa",
              "Value": "a1"
            }
          ]
        },
        "TrialInfo": {
          "KeepAfterTrialExpiration": true,
          "TrialExpireTime": 1584597600,
          "TrialStartTime": 1579413159,
          "TrialVaultReleaseTime": 1594965600
        },
        "UpdatedTime": 1554347313,
        "VaultId": "v-*********************",
        "VaultName": "vaultname",
        "VaultOwnerId": 0,
        "VaultRegionId": "cn-shanghai",
        "VaultStatusMessage": "SOURCE_VAULT_ALREADY_HAS_REPLICATION",
        "VaultStorageClass": "STANDARD",
        "VaultType": "STANDARD",
        "WormEnabled": true
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.