Page tree

Runs selected jobs.

Endpoint

https://<Director_IP_address>:4443/c/router

Tenant Endpoint

For tenants of the multi-tenant product the endpoint must be:
https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router

Request Example

curl
curl --request POST \
	--url https://<Director_IP_address>:4443/c/router \
	--header "content-type: application/json" \
	--cookie @cookies.txt \
	--data "{
		"action": "JobManagement",
		"method": "run",
		"data": [{"jobIds":[1],"runType":"ALL"}],
		"type": "rpc",
		"tid": 1}"

Request Fields

Field
Type
Value(s)
actionstring

JobManagement

methodstring

run

dataJsonParameters
typestringrpc
tidinteger1

data

Field
Type
Description
jobIdsarray of intJob IDs
runTypestringRun type. Can be ALL (run all jobs), NOT_PROCESSED_ON_LAST_RUN (run only jobs failed to run on the previous launch), or SPECIFIC (select a specific job to run)
sourceVidsarray of intA list of job source VIDs. For SPECIFIC run type, a single job is expected
backupTypestringBackup type. Possible values: INCREMENTAL, or FULL
fullBackupModestringMode of full backup type. Possible values: SYNTHETIC, ACTIVE
siteRecoveryRunTypestringMode of site recovery job. Possible values: TEST, RUN
recoveryTimeObjectiveTypestringRecovery time objective for site recovery job in test mode. Possible values: MINUTE, HOUR
failoverTypestringFailover type for failover job. Possible values: PLANNED_FAILOVER, or EMERGENCY_FAILOVER

Response Sample

 {
    "action": "JobManagement",
    "method": "run",
    "tid": "1",
    "type": "rpc",
    "message": null,
    "where": null,
    "cause": null,
    "data": null
}

Response Fields

Field
Value
Description
messagestringMessage if the request failed
wherestringReference to the method where a problem occurred
causestringCause of failure


  • No labels