Purpose
The export_job_status command exports the current XML definition for the requested job status.
Syntax
export_job_status -n|-name Name -I|-job_execution_id JobExecutionID -f|-file Filename
Example
dsc export_job_status -n job1 -I job1ExecutionId -f job1_status.xml
dsc export_job_status -n restore1 -I restore1ExecutionId -C -f job1_status.xml
Parameters
- n|name Name
- The name of the job on which to perform the action. Must be unique for each job.
- I|job_execution_id Job Execution ID
- [Optional] The execution ID for the job. Must be an integer.
The ID must match a version number listed in the list_save_sets command output for the same job.
- f|file filename
- The full file path and file name of the file to which to write the XML definition.
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.