Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

  1. Go to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/MigrationUtility folder.
  2. Open import.xml in the Text Editor and do the following:
    1. Type the location where you have placed "export.zip" of the zip file that you want to import in the <SourceZipLoc>.
    2. Type the Adeptia Suite location (till Adeptia Server) on which zip is to be deployed in the <TargetInstallDir>.
    3. Type the location of “retain.xml” located inside migration utility folder of AdeptiaSuite file in the <RetainXMlLocation>. 
    4. Type the User Id copied to provide 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.
    5. Save the file.

      Image Added
  3. Open Command Prompt (Windows) or Terminal (Linux).
  4. Go to the directory .../<AdeptiaInstallFolder>/ AdeptiaServer/ServerKernel folder.
  5. 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.

...