../E26585-05.epub /> ../E26585-05.mobi />
exportProfile command to export the profile values for the specified object(s). The resulting profile information is either written to the specified file, or to stdout if no file is provided. Specify the object(s) to be exported by specifying their type and then either their name or id.
You can use the
importProfile command to import the resulting XML file into another sphere.
btmcli exportProfile -t objectType [-n name] [-v version] | [-id id] [-o fileName] -s sphereUrl -l username:password
|-n||-name||The name of the object whose profile you want to export.|
|-t||-type||The type of the object whose profile you want to export. Type can be one of the following:
|-V||-version||The version of the service object whose profile you want to export.|
|-id||--||The sphere ID of the object whose profile data you want to export.|
|-o||-outputFile||Specifies a file into which the results of the export will be placed.|
|-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 profile information for all containers.
btmcli exportProfile -t CONTAINER -o C:\Home|myContainers -s http://localhost:8080/btmcentral/sphere/ -l admin:pass