resume_job

Resumes a job or set of jobs. Resumes job executions on any of the targets scheduled to start within the beginning and ending time window.

Note:

Suspend and resume operate either at the job or the execution level, but not both. If job executions were previously suspended, they must be resumed by execution matching. If a job was suspended, it must be resumed by job matching; it is not be possible to resume it by executions.

Format

emcli resume_job
   [-name="job_name_pattern"]
   [-owner="job_owner"]
   [-type="job_type"]
   [-targets="target_name:target_type"]
   [-input_file=property_file:"filename"]
   [-preview]

[ ]  indicates that the parameter is optional

Options

  • name

    Name or pattern of the job(s) to resume.

  • owner

    Owner of the job(s).

  • type

    Job type of the job(s).

  • targets

    Target name and target type of the job(s).

  • input_file

    Specify the filtering properties of the file in "filename."

    Any jobs matching all the specified filter criteria are resumed. You must specify at least one filter, and the logged in administrator must have the necessary privileges on the matching jobs.

    For more information about the input_file parameter, see -input_file Syntax Guidelines.

  • preview

    Only lists the jobs that would be resumed.

Examples

Example 1

This example resumes all jobs of type Backup whose name starts with BK.

emcli resume_job -name=BK% -type=Backup

Example 2

This example resumes jobs or job executions matching search criteria in suspend_prop.txt.

resume_job -input_file=property_file:/tmp/suspend_prop.txt

If the same file is used for both suspend and for resume, the set of jobs or executions resumed should overlap, but might not be identical. The criteria may match more or fewer jobs or executions than previously.