In a noninteractive mode, you can import the objects using import.xml file.
If you want to retain the activities while importing the objects then you need to configure the parameters in the retain.xml that you want to retain. You will find retain.xml in the .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/MigrationUtility folder. For more information, refer to Structure of Retain XML.
To import objects:
- Go to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/MigrationUtility folder.
- Open import.xml in the Text Editor and do the following:
- Type the location where you have placed "export.zip" of the zip file that you want to import in the <SourceZipLoc>.
- Type the Adeptia Suite location (till Adeptia Server) on which zip is to be deployed in the <TargetInstallDir>.
- Type the location of “retain.xml” located inside migration utility folder of AdeptiaSuite file in the <RetainXMlLocation>.
- Type the User Id copied of the user to whom you want to provide the ownership of the objects that you are deploying from the Source environment in the <OverrideUser>. If you want to move the objects in the admin user then no need to provide the User ID.
- Save the file.
- Open Command Prompt (Windows) or Terminal (Linux).
- Go to the directory .../<AdeptiaInstallFolder>/ AdeptiaServer/ServerKernel folder.
- Run the following command:
For Windows:
migrationutility.bat –import <path of the import.xml file>
For Linux:
./migrationutility.sh –import <path of the import.xml file>
where,
<path of the import.xml file> is location of import.xml file.
This imports your entities in noninteractive mode.
...