Skip Headers
Oracle Business Transaction Management Online Help
Release 12.1.0.2

E26585-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

exportTransactionDefns

Use the exportTransactionDefns command to export transaction definitions known to the target sphere. If you do not specify an output file, the definition is sent to stdout.

You can import exported definitions using the importTransactionDefns command.

Command Syntax

btmcli exportTransactionDefns [-n Name] [-o fileName]
                              -s sphereUrl -l username:password
Name Long Name Description
-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.

http://hostname:port/btmcentral/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 encryptPassword command.


Example

The following command exports all transaction definitions to the file MyTransactions.

btmcli exportTransactionDefns -o C:\Home\MyTransactions 
                        -s http://localhost:8080/btmcentral/sphere/ 
                        -l admin:abracadabra