All Products
Search
Document Center

Security Center:DescribeBackupMachineStatus

Last Updated:May 22, 2025

Queries the backup status of a sever to which an anti-ransomware policy is applied.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PolicyIdlongYes

The ID of the anti-ransomware policy.

Note You can call the DescribeBackupPolicies operation to query the IDs of anti-ransomware policies.
123
UuidstringYes

The UUID of the server.

Note You can call the DescribeBackupPolicy operation to query the UUIDs of servers.
eb2c782e-64f2-4590-a86c-d90164df****
PolicyVersionstringNo

The version of the anti-ransomware policy. Valid values:

  • 1.0.0
  • 2.0.0
2.0.0

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

09969D2C-4FAD-429E-BFBF-9A60DEF8****
BackupMachineStatusobject

The backup status of the server.

Statusstring

The status of the anti-ransomware agent. Valid values:

  • NOT_INSTALLED: not installed
  • CLIENT_CONNECTION_ERROR: abnormal
  • ACTIVATED: normal
ACTIVATED
Uuidstring

The UUID of the server.

eb2c782e-64f2-4590-a86c-d90164df****
VaultIdstring

The ID of the backup vault in which the backup data is stored.

v-0005i2qh5fcr6seo****
ErrorCodestring

The error code returned.

CLIENT_CONNECTION_ERROR
SavedBackupCountinteger

The number of backup versions.

7
InstanceIdstring

The ID of the server.

i-2zeaqkb80vloxjcj****
ClientStatusstring

The status of the anti-ransomware agent. Valid values:

  • ONLINE: normal
  • CLIENT_CONNECTION_ERROR: abnormal
  • UNINSTALLING: being uninstalled
  • UNINSTALL_FAILED: failed to be uninstalled
  • UPGRADING: being upgraded
  • UPGRADE_FAILED: failed to be upgraded
ONLINE
RegionIdstring

The ID of the region in which the server resides.

cn-shenzhen
ClientVersionstring

The version of the anti-ransomware agent.

2.11.0
ClientIdstring

The ID of the anti-ransomware agent.

c-000dbefaw9f7gnbw****
ErrorListarray<object>

An array that consists of the error information reported by the backup server.

BackupErrorMsgobject

The error information reported by the backup server.

ErrorCodestring

The error code.

TARGET_NOT_EXIST
ErrorStatusstring

The error message.

FAILED
ServiceStatusstring

The status of the anti-ransomware service. Valid values:

  • SERVICE_EXCEPTION: Service exception
  • RESTORING: Restoring
  • BACKING_UP: Backup in process
RESTORING

Examples

Sample success responses

JSONformat

{
  "RequestId": "09969D2C-4FAD-429E-BFBF-9A60DEF8****",
  "BackupMachineStatus": {
    "Status": "ACTIVATED",
    "Uuid": "eb2c782e-64f2-4590-a86c-d90164df****",
    "VaultId": "v-0005i2qh5fcr6seo****",
    "ErrorCode": "CLIENT_CONNECTION_ERROR",
    "SavedBackupCount": 7,
    "InstanceId": "i-2zeaqkb80vloxjcj****",
    "ClientStatus": "ONLINE",
    "RegionId": "cn-shenzhen",
    "ClientVersion": "2.11.0",
    "ClientId": "c-000dbefaw9f7gnbw****",
    "ErrorList": [
      {
        "ErrorCode": "TARGET_NOT_EXIST",
        "ErrorStatus": "FAILED"
      }
    ],
    "ServiceStatus": "RESTORING"
  }
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-06The response structure of the API has changedView Change Details