Run the BlackBerry IT Policy Import and Export Tool

Verify that the BlackBerry IT Policy Import and Export Tool can connect to the BlackBerry Configuration Database.
  1. On the computer that hosts the BlackBerry IT Policy Import and Export Tool, on the taskbar, click Start > All Programs > BlackBerry Enterprise Server Resource Kit > BlackBerry Analysis Monitoring and Troubleshooting Tools > BlackBerry IT Policy Import and Export Tool.
  2. In the command prompt window, type ITPolicyImportExport -export or ITPolicyImportExport -import and the following parameters:

    Parameter

    Description

    -n <database_server>

    This parameter specifies the host name, computer name, or IP address of the server that hosts the BlackBerry Configuration Database that you want to export IT policies from or import IT policies into.

    -db <database_name>

    This parameter specifies the name of the BlackBerry Configuration Database that you want to export IT policies from or import IT policies into.

    -file <file_name>

    This parameter specifies the name of the backup file that the tool creates, or the name of the backup file that you want to use to import IT policy information to a BlackBerry Configuration Database. By default, the tool prompts you for this information.

  3. Type any of the following parameters:

    Parameter

    Description

    -itpolicy <IT_policy_name>

    This parameter specifies the single IT policy that you want to export or import. Type the IT policy name in quotation marks ("") if the name contains a space or special characters.

    -selectall

    This parameter exports or imports all available IT policies.

    -renamed_itpolicy <new_IT_policy_name>

    This parameter changes the name of the IT policy that you specify using the -itpolicy parameter during the export process or import process. Type the IT policy name in quotation marks if the name contains a space or special characters.

    -dbauth

    This parameter specifies that the tool must use Microsoft SQL Server authentication. By default, the tool uses Windows authentication.

    If you specify this parameter, you must also specify the -dbuser <user_name> and -dbpass <password> parameters.

Example: Exporting all IT policies using Windows authentication

ITPolicyImportExport -export -n server01 -db BESMgmt01 -selectall -file itpolicy.txt

ITPolicyImportExport -import -n server02 -db BESMgmt02 -selectall -file itpolicy.txt

ITPolicyImportExport -export -n server01 -db BESMgmt01 -dbauth -dbuser admin -dbpassword password -selectall -file itpolicy.txt

ITPolicyImportExport -import -n server02 -db BESMgmt02 -dbauth -dbuser admin -dbpassword password -selectall -file itpolicy.txt

ITPolicyImportExport -export -n server01 -db BESMgmt01 -itpolicy "executive IT policy" -file itpolicy.txt

ITPolicyImportExport -import -n server02 -db BESMgmt02 -itpolicy "executive IT policy" -file itpolicy.txt

ITPolicyImportExport -export -n server01 -db BESMgmt01 -itpolicy "executive IT policy" -renamed_itpolicy "executive permission" -file itpolicy.txt



Was this information helpful? Send us your comments.