Run Backup Schedules
Initiate backup with the specified schedule
Request
URLURL
Path Parameters
Path Parameters
Identifier of the schedule The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.schedule.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
This is a request body class for an operation.
{
"comment": "string"
}
field that specifies the description for the backup. If unset the backup will have an empty comment.
Authentication
Response
Response BodyResponse Body
BackupJobStatus Structure
{
"end_time": "string",
"id": "string",
"messages": [
{
"args": [
"string"
],
"default_message": "string",
"id": "string"
}
],
"progress": 0,
"start_time": "string",
"state": "FAILED"
}
TimeStamp based ID.
Progress of the job in percentage.
Time when the backup was started.
The Job.BackupRestoreProcessState enumerated type defines the possible states of a backup/restore process.
FAILED : Backup/Restore job failed.
INPROGRESS : Backup/Restore job is in progress.
NONE : Backup/Restore job is not started.
SUCCEEDED : Backup/Restore job completed successfully.
Possible values are: FAILED , INPROGRESS , NONE , SUCCEEDED
Time when the backup was finished. If unset end time is None until backup is finished.
Errors
com.vmware.vapi.std.errors.feature_in_use : if a backup or restore is already in progress.
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: post
x-vmw-doc-deprecated-path: /rest/appliance/recovery/backup/schedules/{schedule}?action=run
x-vmw-doc-operation: run