Trading Networks 10.3 | Administering and Using Trading Networks | Administering Trading Networks | Migrating Assets | Migrating Assets Using the tnexport and tnimport Utilities | tnexport Utility | Specifying Export Options on the Command Line
 
Specifying Export Options on the Command Line
To specify export options on the command line, go to the Integration Server_directory \instances\instance_name\packages\WmTN\bin directory and run this command:
tnexport outfile [-bin binfile|-xml xmlfile] -zipdir [directory] [options]
*outfile is one of the following:
The following table lists the parameters and the corresponding action that Trading Networks performs:
Parameter
Action
-bin [binfile]
Exports assets to a binary file. By default, the name of the file is export. You can specify a different name on binfile.
-xml [xmlfile]
Exports assets to an XML file. By default, the name of the file is export. You can specify a different name on xmlfile.
Trading Networks creates a zip file that contains the binary or XML file in the user temp directory. For solution deployment, you need to extract assets to create the ACDL file. This ACDL file is used to deploy the assets by using webMethods Deployer. You can use zipdir to specify a different directory. The directory must already exist. If you want to use a directory relative to the one from which you are running the tnexport utility, specify a relative path.
*One or more options are listed in the table as follows:
Option
Exports...
-acdl
Generate ACDL file.
Note:
If you want to use the -acdl option, list this option first, followed by the other options.
-attribs
All document attributes.
-types
All document types.
-rules
All processing rules.
-profiles
All partner profiles.
-extflds
Values for all extended fields in the profiles.
-flddefs
All definitions for field groups and all profile fields in those groups.
-lkup
Definitions for all custom contact types, external ID types, and partner groups.
-queues
All public and private queues.
-tpas
All TPAs.
-securityData
All certificate information for all partner profiles.
Note:
Certificates can only be exported to a binary file (see the -bin option, above).
-dls
All data permission rules defined in My webMethods.
-fp
All general functional permissions data defined in My webMethods.
-archiveSvcs
All archive schedules and deletion schedules.
-All
All Trading Networks assets.