Configuration Data Transfer > Exporting Configuration Data
  
Exporting Configuration Data
The first step to transfer configuration data is to export the data from the source QXtend instance.
Exporting Data from QXI
To export configuration data from QXI:
1 Locate the qxicfgbundle.sh (for Linux) or qxicfgbundle.bat (for Windows) file at <TOMCAT_HOME>/webapps/<QXI webapp>/WEB-INF/scripts.
2 Do one of the following to export APIs:
For exporting all schema and receiver APIs from the source system, run
./qxicfgbundle.sh -e [bundle_file]
For exporting specific APIs from the source system, run
./qxicfgbundle.sh -e [bundle_file] -d [action_descriptor_file]
Example: If you want to export specific data to the qxi_bundle.zip using the descriptor file receiver_qaderp.xml, use the command:
./qxicfgbundle.sh -e qxi_bundle.zip -d receiver_qaderp.xml
For information on how to create an action descriptor file, see Customizing Configuration Data Transfer.
If it is the first time you have exported configuration data, this command creates the export folder and the import folder in the WEB-INF folder. The data in the source QXI are exported to the specified .zip file in the export folder. If you do not specify the bundle file name, the .zip file name is qxiCfgBundle.zip, by default. You can view the export result in the corresponding .report.txt file. For more information about report, see Viewing Reports.
Note: The export action overwrites the existing .zip and .report.txt files that have identical names with the files to generate.
Exporting Data from QXO
You can export the BOs and their associated profiles, source application event type, BO registrations with message publishers, and subscriber profiles to a bundle file. By using the action descriptor XML file, you can customize the export. To export data from QXO:
1 Locate the qxocfgbundle.sh (for Linux) or qxocfgbundle.bat (for Windows) file at <QXOServer_install_dir>/scripts.
2 Do one of the following to export data:
For exporting all data, run
./qxocfgbundle.sh -e [bundle_file]
For exporting specific data, run
./qxocfgbundle.sh -e [bundle_file] -d [action_descriptor_file]
Example: If you want to export data to qxo_bundle.zip using the descriptor file bpm_config.xml, use the command:
./qxocfgbundle.sh -e qxo_bundle.zip -d bpm_config.xml
For information on how to create an action descriptor file, see Customizing Configuration Data Transfer.
If it is the first time you have exported configuration data, this command creates the export folder and the import folder in the qxoserver folder. The BOs, profiles, or both are exported to the specified .zip file in the export folder. If you do not specify the bundle file name, the .zip file name is qxoCfgBundle.zip by default. You can view the export result in the corresponding .report.txt file. For more information about reports, see Viewing Reports.
Note: The export action overwrites the existing .zip and .report.txt files that have identical names with the files to generate.