From the Job List, you can export a job to an xml file. This functionality allows you to:
·Copy a job from one instance of Content Matrix to another (as long they are for the same Edition).
·Manually modify a job, then re-import it.
To export a job to an xml file:
1.In the Job List, select the job(s) you want to export.
NOTE: If you select multiple jobs, they will be saved to a single xml file.
2.Right-click, and choose Export selected job to xml.
The xml file will automatically open in whatever program is set as the default application for xml files, and it can be saved to any desired location.
To import an xml file to the Job List:
1.Make sure the file you want to import uses a different Job ID than any existing jobs (this should only be an issue if the xml file was previously exported from the same Content Matrix Console).
NOTE: If you import an xml file via the Console and the file being imported contains the same Job ID as an existing Job, then the import will fail. However, you can create a duplicate job with a different Job ID if you import the xml file using PowerShell.
2.From the Job List menu, choose File > Import Jobs From Xml.
3.Select the xml file to import.
If the import is successful, the job will be listed in the Job List section. If unsuccessful, an error message will be displayed.
You can import jobs that have been previously exported to xml using PowerShell.
To access the PowerShell cmdlets for connecting to SharePoint:
Open a PowerShell or PowerShell ISE session and add the PowerShell snap-ins for the application framework.
To import jobs from an xml file:
1.Select (from the PowerShell ISE Command Window) or enter Load-JobXml.
2.Select or enter the applicable parameters. Use the information in the following table for guidance.
|
Parameter |
Notes |
|---|---|
|
XmlFilePath (Required) |
The path to the xml file containing the job(s) you want to import. |
|
ImportDuplicate (Optional) |
If you use this parameter and the job already exists in the Jobs Database, it will be imported with a new Job ID. If you omit this parameter and the job already exists in the Jobs Database, it will not be imported. For an xml file that contains multiple jobs, only those that are not in the Jobs Database will be imported. If trace logging is enabled, the detail will be logged in the file MetalogixGlobalLog.txt. |
Example Scripts with Results:
With ImportDuplicate parameter
Load-JobXml -XmlFilePath C:\Users\Administrator\Desktop\MigrateToSPO.xml -ImportDuplicate
6 job(s) successfully imported out of a total of 6 job(s), in 0m 0s
Without ImportDuplicate parameter
Load-JobXml -XmlFilePath C:\Users\Administrator\Desktop\MigrateToSPO.xml
4 job(s) successfully imported out of a total of 6 job(s), in 0m 0s
NOTE: The refresh is applied to whichever job list Content Matrix is currently connected to, whether that is the Distributed Database (for the Distributed Migration feature) or via a standard connection.
To refresh the Job List:
1.From the Manage Queue dialog, select a job in the Job List. The row selector icon and the highlighted row indicates the selected row.
2.From the Job List menu bar, choose File > Refresh.
If the status of the job has changed, the Status value will indicate the new status of the job.
If the Content Matrix Console is configured for Distributed Migration, you can run a job remotely, on a Distributed Migration agent machine.