Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are a number of parameters within a job that can only be set when the job is first created (i.e. source/destination connections and paths). The ability to duplicate a job allows you to copy a job and override parameters of the "new" job.

...

REST API

Jobs can be duplicated through the REST API. The request can optionally include a JSON body that overrides the parameters within the source job. The request must include an appropriate Authorization header with a valid access token. An example request and response is found below.

POST <server-url>/v1/jobs/<job_id>/clone

Code Block
Content-Type: application/json

Example Clone Job

This example clone job will change the values for lock propagation, permissions, version preservation, and the schedule.

...

Panel
bgColor#FFFAE6

Deleted jobs are still available in the database and can be queried; the job history is NOT deleted. DryvIQ simply sets the flag to delete so it will be removed from REST API responses. 

When you delete a job, DryvIQ will flag it and there is a check every 5 seconds or so on each node which cancels the job if it is running.

Modify Job Schedule

PATCH {{url}}v1/jobs/{{original_job_id}}

Code Block
{
    "kind": "transfer",
    "transfer_type": "copy",
    "schedule": {
        "mode": "manual"
    }
}