Importing Application Data into the Destination Environment

Use this procedure to import the data that you exported from the source environment.

To import application data

  1. Stop all unneeded Infor Landmark Technology services. At the command line, type

    adminlaw

  2. Determine the data area name or names in the srcDataDir directory. At the command line, type

    daimport -l srcDataDir

  3. Import the data. At the command line, type one of the following two commands, depending on whether the source data area and the destination data area have the same name or different names. Note also that you must run the command for each product line or data area that you need to import data for.

    If the source and destination data areas have the same name, type

    daimport --deletedata -I srcDataDir dataAreaName1

    daimport --deletedata -I srcDataDir dataAreaName2

    If the source and destination data areas have different names, type

    daimport --deletedata -I srcDataDir srcDataAreaName1=destDataAreaName1

    daimport --deletedata -I srcDataDir srcDataAreaName2=destDataAreaName2

    Any records that are not loaded are identified in the daimportErrdestDataArea.jar and daimportErrdestDataArea_ENV.jar files.

    Note: 

    Although this procedure is directed toward the process of importing data from a data area in one environment to a data area in a different environment, if you are using daimport to import data from one data area or product line to either another data area or product line in the same environment, you should use the --sameenv option in order to avoid duplicate record errors. In addition, if you are importing data from a data area or product line in one environment to a data area or product line in a different environment, and then import that data into additional data areas or product lines in that same new environment, you should use the --sameenv option in order to avoid duplicate record errors.