Exports all matching job definitions in Enterprise Manager, including Corrective Actions. System jobs and nested jobs are excluded.
emcli export_jobs -export_file=<zip_file_name>" [-name="job_name1;job_name2;..."] [-type="job_type1;job_type2;..."] [-targets="tname1:ttype1;tname2:ttype2;..."] [-owner="owner1;owner2;..."] [-preview] [ ] indicates that the parameter is optional
Zip file name to be created.
Job name pattern to be used for filtering. Semicolon-separated job names can be provided. When filtering by a single value, wildcard char(% or _) can also be used. Wildcard "%"matches one or more characters. "_"(underscore) matches exactly one character.
Job type pattern to be used for filtering. Semicolon-separated job types can be provided. When filtering by sa ingle value, wildcard chars(% or _) can be used.
Target name, type pattern to be used for filtering. Semicolon-separated target names and types can be provided. When filtering by a single value, wildcard chars(% or _) can be used.
Owner of the jobs to be used for filtering. Semicolon-separated job owners can be provided.
Jobs in the Enterprise Manager site matching the filter criteria are shown to stdout. Jobs are not exported to any file.
This example exports job definitions for jobs MYJOB1 and MYJOB2 to job_data.zip:
emcli export_jobs -name=MYJOB1;MYJOB2 -export_file=jobsdata.zip
This example exports job definitions for any jobs owned by user name starting with ADMIN.
emcli export_jobs -owner=ADMIN% -export_file=jobsdata.zip