B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Administrator's Guide | 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.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release