Configuration Data Transfer > Importing Configuration Data
  
Importing Configuration Data
When you finish exporting the configuration components from the source system, the next step is to import them into your target system.
Importing Data to QXI
To import configuration data to the target system:
1 Copy the bundle file that is exported from the source system and paste it to <TOMCAT_HOME>/webapps/<QXI webapp>/WEB-INF/import.
2 Locate the qxicfgbundle.sh file at <TOMCAT_HOME>/webapps/<QXI webapp>/WEB-INF/scripts.
3 Do one of the following to import data:
For importing all data from the bundle file, run
./qxicfgbundle.sh -i [bundle_file]
Note: If a configuration item in the bundle file exists in the target system, the import will fail. In this case, use a descriptor file as stated in the next option.
For importing specific data from the bundle file, run
./qxicfgbundle.sh -i [bundle_file] -d [action_descriptor_file]
For information on how to create an action descriptor file, see Customizing Configuration Data Transfer.
If the receiver names in the sources system are different from the names in the target system, use a mapping file during importing and run
./qxicfgbundle.sh -i [bundle_file] -d [action_descriptor_file] -m [mapping_file]
For information on how to create a mapping file, see Data Mapping for Importing.
Example: If you import data from the exported bundle qxi_bundle.zip using the descriptor file receiver_qaderp.xml and the mapping file qxi_mapping.xml, run
./qxicfgbundle.sh -i qxi_bundle.zip -d receiver_qaderp.xml -m qxi_mapping.xml
If you do not specify the bundle file name, the system looks for qxiCfgBundle.zip and imports data from it, if available.
Importing Data to QXO
To import data to the target QXO:
1 Copy the bundle file that is exported from the source system and paste it to the import folder in qxoserver.
2 Locate the qxocfgbundle.sh file at <QXOServer_install_dir>/scripts.
3 Do one of the following to import data:
For importing all data from the bundle file, run
./qxocfgbundle.sh -i [bundle_file]
Note: If a configuration item in the bundle file exists in the target system, the import will fail. In this case, use a descriptor file as stated in the next option.
For importing specific configuration items, run
./qxocfgbundle.sh -i [bundle_file] -d [action_descriptor_file]
For information on how to create an action descriptor file, see Customizing Configuration Data Transfer.
If the names of source application, message publishers, or subscribers in the sources system are different from the names in the target system, use a mapping file during importing and run
./qxocfgbundle.sh -i [bundle_file] -d [action_descriptor_file] -m [mapping_file]
For information on how to create a mapping file, see Data Mapping for Importing.
Example: If you import data from the exported bundle qxo_bundle.zip using the descriptor file BO_profile_import.xml and the mapping file qxo_mapping.xml, run
./qxocfgbundle.sh -i qxo_bundle.zip -d BO_profile_import.xml -m qxo_mapping.xml
If you do not specify the bundle file name, the system looks for qxoCfgBundle.zip and import items from it, if available.