The export_job command exports the current XML definition for the requested job.
export_job -n|-name Name -f|-file File
export_job -n job1 -f job1Definition.xml
- n|name Name
- The name of the job on which to perform the action. Must be unique for each job.
- Example: job1
- f|file filename
- The full file path and file name of the file to which to write the XML definition.
- Example: job1Definition.xml
The XML file for a retired job cannot be exported using the export_job command.
The XML file that is exported by using this command can be used in the update_job command to create a job.
XML File Example
This command does not require an XML file as input. You must supply a file name and location to which the XML file results are exported as output.