List Backup Job Details
Returns detailed information about the current and historical backup jobs.
Request
URLURL
Query Parameters
Query Parameters
Identifiers of backup jobs that can match the filter. If unset the filter will match all the backup jobs. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.appliance.recovery.backup.job. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.appliance.recovery.backup.job.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
map
of
RecoveryBackupJobDetailsInfo
of type application/json
Map of backup job identifier to Info Structure. The key in the result map will be an identifier for the resource type: com.vmware.appliance.recovery.backup.job.
{
"build": {
"build_number": "string",
"version": "string",
"version_name": "string"
},
"cancelable": false,
"description": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
},
"duration": 0,
"end_time": "string",
"error": {},
"fast_backup": false,
"location": "string",
"location_user": "string",
"messages": [
{
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
}
],
"operation": "string",
"parent": "string",
"progress": {
"completed": 0,
"message": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
},
"total": 0
},
"service": "string",
"size": 0,
"start_time": "string",
"status": "enum",
"target": {
"id": "string",
"type": "string"
},
"type": "SCHEDULED",
"user": "string"
}
List of any info/warning/error messages returned by the backup job.
Flag to indicate whether or not the operation can be cancelled. The value may change as the operation progresses.
The Details.Type enumerated type defines the type of backup job.
SCHEDULED : Job type is Scheduled.
MANUAL : Job type is Manual.
Possible values are: SCHEDULED , MANUAL
Identifier of the service containing the operation. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vapi.service. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vapi.service.
Identifier of the operation associated with the task. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vapi.operation. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vapi.operation.
URL of the backup location.
The username for the remote backup location.
Information about the build of the appliance. This field is optional because it was added in a newer version than its parent node.
Option to enable Postgres DB/ VCDB fast backup
Parent of the current task. This field will be unset if the task has no parent. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.cis.task. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.cis.task.
Progress of the job. This field is optional and it is only relevant when the value of CommonInfo#status is one of SUCCEEDED, FAILED, or RUNNING.
Description of the error if the operation status is “FAILED”. If unset the description of why the operation failed will be included in the result of the operation (see Info.result).
Size of the backup data transferred to remote location. This field is optional and it is only relevant when the value of CommonInfo#status is one of SUCCEEDED, FAILED, or RUNNING.
Time when the operation is started. This field is optional and it is only relevant when the value of CommonInfo.status is one of RUNNING, BLOCKED, SUCCEEDED, or FAILED.
Time when the operation is completed. This field is optional and it is only relevant when the value of CommonInfo.status is one of SUCCEEDED or FAILED.
Identifier of the target created by the operation or an existing one the operation performed on. This field will be unset if the operation has no target or multiple targets.
Time in seconds since the backup job was started or the time it took to complete the backup job. This field is optional and it is only relevant when the value of CommonInfo#status is one of SUCCEEDED, FAILED, or RUNNING.
Name of the user who performed the operation. This field will be unset if the operation is performed by the system.
Errors
com.vmware.vapi.std.errors.error : if any error occurs during the execution of the operation.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/appliance/recovery/backup/job/details
x-vmw-doc-operation: list