Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Administrator's Guide | Migrating Assets | Migrating Assets Using the tnexport and tnimport Utilities | tnexport Utility | Examples
 
Examples
*You want to export all partner profiles, all extended field values in the profiles, and all the extended field definitions to the XML file ExportedData.xml. You want the utility to create the zip file containing the XML data file in \TradingNetworks\. Use this command:
tnexport -xml ExportedData.xml -zipdir \TradingNetworks\ -profiles
-extflds -flddefs
*You want to export all Trading Networks assets to the binary file ExportedData.bin, and you want the utility to create the zip file containing the ExportedData.bin file in the user temp folder. Use this command:
tnexport -bin ExportedData.bin -all
*You want to export Trading Networks assets based on the options specified in the XML file ExportOptions.xml. Use this command:
tnexport -file ExportOptions.xml