Default language.

Migrating using a package file


This example shows how a package.xml file can be used to execute a series of migration instructions. Those instructions are executed in the order in which they appear in the file.

Warning

Note

To execute this example, you can use the following migration or comparison command sequences: migratorcli -m -s < sourceLocation> -d < destinationLocation> -x < package_filename> -g "Migrator Configuration.xml" -u Demo migratorcli -c -s < sourceLocation> -d < destinationLocation> -x < package_filename> -g "Migrator Configuration.xml" -u Demo

<?xml version="1.0" encoding="UTF-8" ?>
- <package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Migration Package.xsd" configuration="">
<instructions file="ExampleApplicationDeployment.xml" type="all" command="migrate" enabled="true" />
- <instructions file="ExampleCMDBInstruction.xml" command="compare" type="specified">
- <!--  This is the only instruction in the file so using all would give the same result, but this example shows how specified instructions within the file can be executed.
-->

<instruction name="ExampleCMDB" />
</instructions>
<instructions file="ExampleDataInstruction.xml" type="all" command="migrate" enabled="true" />
</package>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Remedy Action Request System 20.02