Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Appendix A Command Reference : -exportConfigRepo

-exportConfigRepo
Synopsis
bcappmanage -exportConfigRepo
Description
The command -exportConfigRepo is used for exporting CSX component files from the TIBCO BusinessConnect configuration store. It supports four main categories: participants, operations, certificates, and entire installation. It typically exports all operations or participants, but it can be used also to export only selected ones. For example, if you have to export a participant Company2 into production environment, this command coupled with -importConfigRepo will allow you to add the participant without making any changes to the GUI.
When exporting the configuration repository, target files are saved in the CSX format, and configuration repositories are created for the following:
Exporting is performed as follows:
For certificate export: each exported certificate is written out as a file <cert-alias>.cert in the folder specified by the -p7b argument.
The default export directory is the p7b_certs folder in the current working directory.
Options
-csx <config_export>
Configuration repository export (csx) file to import/export . Not applicable for certificates export.
{ -pw <password> }
Optional password to encrypt/decrypt configuration repository import/export (csx). Not applicable for certificates export.
{-overwrite}
Overwrites existing configuration repository export (csx) file if specified. Not applicable for certificates export.
{ -category [ installation | participants | operations | certificates] }
Export category type (default = installation)
{ -protocol [ EZComm | X12 | EDIFACT | TEXT | Gateway | Service | RosettaNet | SOAP | ebXML | cXML ] }
Protocol standard for operation export applicable to category = operations only
{ -op <delta_pattern> }
The operation sub-branch to be exported for category = operation, if not specified the entire operation tree is exported; for example, -op /00401 for protocol = X12
{ -alias <delta list> }
A comma separated list of participants for category = participants or aliases for category = certificates, if not specified the entire set of participants or certificates is exported
{ -tp <trading partner> }
The trading partner name for category = certificates
{ -p7b <p7b cert dir> }
The export directory for category = certificates
{ -configRepoURL [<props_file_url> | <jdbc_url>] }
Optional URL to property file specifying configuration repository connection parameters or a standard JDBC URL. If specifying a property file URL, the syntax is file://<file location>; for example, file://c:/temp/config.properties. (default=file://./commonConfig.properties)
{ -configRepoUser <user> -configRepoPw <password> }
Optional configuration repository user and password. It must be specified if the configRepoURL parameter is a JDBC URL or if they are not specified in the connection properties file.
Examples
bcappmanage -exportConfigRepo -category participants -alias tantony-lt,tantony-dt -configRepoURL file://c:/temp/config.properties -csx c:/temp/participants-1.csx
bcappmanage -exportConfigRepo -category participants -configRepoURL file://c:/temp/config.properties -csx c:/temp/participants-1.csx
Exporting certificate with alias cert1 for partner tantony-dt into folder c:/temp (as file cert1.cert)
bcappmanage -exportConfigRepo -category certificates -alias cert1 -tp tantony-dt -configRepoURL file://c:/temp/config.properties -p7b c:/temp
bcappmanage -exportConfigRepo -category operations -protocol X12 -op /00401 -configRepoURL file://c:/temp/config.properties -csx c:/temp/operations-401.csx
bcappmanage -exportConfigRepo -category operations -protocol X12 -configRepoURL file://c:/temp/config.properties -csx c:/temp/operations-401.csx

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved