Run the BlackBerry IT Policy Import and Export Tool

Before you begin: 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 Resource Kit for BlackBerry Enterprise Service 10 > 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 optional 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.

    -renameditpolicy <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.

    -correct_data

    If you export an IT policy and the Service Exclusivity policy group (BlackBerry Enterprise Server only) contains rules that are set to False/No, you must use -correct_data when you import the IT policy to the destination BlackBerry Enterprise Server so that the tool can change the IT policy information to include the appropriate SRP ID for the destination domain.

Example: Exporting all IT policies using Windows authentication

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

Example: Importing all IT policies using Windows authentication

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

Example: Exporting all IT policies using Microsoft SQL Server authentication

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

Example: Importing all IT policies using Microsoft SQL Server authentication

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

Example: Exporting a single IT policy using Windows authentication

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

Example: Importing a single IT policy using Windows authentication

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

Example: Exporting and renaming a single IT policy

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



Was this information helpful? Send us your comments.