The export_job_status command exports the current XML definition for the requested job status.
export_job_status -n|-name Name -I|-job_execution_id JobExecutionID -f|-file Filename
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
- n|name Name
- The name of the job on which to perform the action. Must be unique for each job.
- Example: job1
- 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.
- Example: 2
- f|file filename
- The full file path and file name of the file to which to write the XML definition.
- Example: job1_status.xml
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.