You can import exported definitions using the
btmcli exportTransactionDefns [-n Name] [-o fileName] -s sphereUrl -l username:password
|-n||-name||The name of the transaction to export. If you do not provide this value, all existing transaction definitions are exported.|
|-o||-outputFile||Specifies a file into which the results of the export will be placed. If you do not provide this value, the output is sent to stdout.|
|-s||-sphereUrl||The URL of the sphere.
This flag is not required if you have set the AP_SPHERE_URL environment variable for your sphere.
|-l||-userLogin||The username and password associated with the sphere, in the format: username:password. This set of credentials must belong to a user in the btmadmin role.
See Security Options in Accessing CLI Commands for information on furnishing login credentials.
You can encrypt passwords using the
The following command exports all transaction definitions to the file
btmcli exportTransactionDefns -o C:\Home\MyTransactions -s http://localhost:8080/btmcentral/sphere/ -l admin:abracadabra