All Products
Search
Document Center

Security Center:ListBackupRecord

Last Updated:Feb 20, 2024

Queries backup records.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
MachineRemarkstringNo

The information that you want to use to identify the servers protected by the anti-ransomware policy. You can enter the IP address or ID of a server.

192.168.XX.XX
StatusListarrayNo

The backup task status. Valid values:

  • BACKUP_COMPLETE: The backup task is successful.
  • BACKUP_FAILED: The backup task failed.
  • PARTIAL_COMPLETE: The backup task is partially successful.
stringNo

The details of the backup task status.

["BACKUP_COMPLETE"]
BackupStartTimelongNo

The timestamp when the backup task started. Unit: milliseconds.

1699514211000
BackupEndTimelongNo

The timestamp when the backup task ended. Unit: milliseconds.

1699600611000
CurrentPageintegerNo

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

1
PageSizeintegerNo

The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.

Note We recommend that you do not leave this parameter empty.
20

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

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

3956048F-9D73-5EDB-834B-4827BB48****
BackupRecordListobject []

The details of the backup record.

Uuidstring

The UUID of the server whose data is backed up based on the anti-ransomware policy.

b93cccb9-f19f-4886-97fe-47df26ba****
ClientIdstring

The ID of the anti-ransomware agent.

c-0002bgagelj3d2sc****
BackupPlanIdstring

The backup plan ID.

plan-000c4tt43nolmx96****
BackupJobIdstring

The backup task ID.

a006f24d069843c88688672d74ee****
BackupStartTimelong

The timestamp when the backup task started. Unit: milliseconds.

1699514211000
BackupEndTimelong

The timestamp when the backup task ended. Unit: milliseconds.

1699600611000
BackupStatusstring

The backup task status. Valid value:

  • BACKUP_COMPLETE: The backup task is successful.
  • BACKUP_FAILED: The backup task failed.
  • PARTIAL_COMPLETE: The backup task is partially successful.
BACKUP_COMPLETE
ErrorCodestring

The error code of the backup task.

FILE_CACHE_NO_SPACE
ErrorMessagestring

The error message of the backup task.

FILE_CACHE_NO_SPACE
InstanceNamestring

The instance name of the asset.

openapi
Ipstring

The IP address of the server.

1.1.1.1
InstanceIdstring

The instance ID of the server.

i-wz9ikn44p46krnic****
InternetIpstring

The public IP address of the server.

1.1.1.1
IntranetIpstring

The private IP address of the server.

192.168.1.1
RegionIdstring

The ID of the region in which the backup is stored.

cn-hangzhou
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

2
PageSizeinteger

The number of entries per page.

20
TotalCountinteger

The total number of entries returned.

100
Countinteger

The number of entries returned on the current page.

20

Examples

Sample success responses

JSONformat

{
  "RequestId": "3956048F-9D73-5EDB-834B-4827BB48****",
  "BackupRecordList": [
    {
      "Uuid": "b93cccb9-f19f-4886-97fe-47df26ba****",
      "ClientId": "c-0002bgagelj3d2sc****",
      "BackupPlanId": "plan-000c4tt43nolmx96****",
      "BackupJobId": "a006f24d069843c88688672d74ee****",
      "BackupStartTime": 1699514211000,
      "BackupEndTime": 1699600611000,
      "BackupStatus": "BACKUP_COMPLETE",
      "ErrorCode": "FILE_CACHE_NO_SPACE",
      "ErrorMessage": "FILE_CACHE_NO_SPACE",
      "InstanceName": "openapi",
      "Ip": "1.1.1.1",
      "InstanceId": "i-wz9ikn44p46krnic****",
      "InternetIp": "1.1.1.1\n",
      "IntranetIp": "192.168.1.1",
      "RegionId": "cn-hangzhou"
    }
  ],
  "PageInfo": {
    "CurrentPage": 2,
    "PageSize": 20,
    "TotalCount": 100,
    "Count": 20
  }
}

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.