Skip Headers
Oracle Business Transaction Management Online Help
Release 12.1.0.2

Part Number 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

exportPolicyTemplates

Use the exportPolicyTemplates command to export the selected policy templates either to stdout or to the given output file. You specify the policy template to export in one of two ways:

Command Syntax

btmcli exportPolicyTemplates 
              [[-n Name][-t Type] [-subType subType][-v TmplVersion]]| -exportAll
              [-o fileName]
              -s sphereUrl -l username:password
Name Long Name Description
-n -name The name of the policy template to export.
-t -type The type of the policy template to export.
-subType -- The sub-type of the policy template to export.
-v -version The version of the policy template to export.
-exportAll -- Specifies that all policy templates should be exported.
-o -outputFile Specifies a file into which the exported data is placed.
-s -sphereUrl The URL of the sphere.

http://hostname:port/btmcentral/sphere/

This flag is not required if you have set the AP_SPHERE_URLenvironment 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 the policy templates to the output file MyPolicyTemplates

btmcli exportPolicyTemplates -exportAll -o C:\Home\MyPolicyTemplates
                             -s http://localhost:8080/btmcentral/sphere/
                             -l admin:abracadabra