Configuring the source database for BIX command-line extractions
Configure the source database by editing the prbootstrap.properties and prconfig.xml files in the configuration directory of your BIX distribution to add database connection settings that specify Pega Platform database from which you extract data. Configuring the source database permits command line extractions
The prconfig.xml file contains sample database connection settings for an SQL database that you can modify for your Pega Platform database.Note: The
following steps outline the procedure for specifying typical database connection settings.
Consult your database administrator (DBA) to resolve requirements that are specific to your
installation. For more information, see the Pega Community article: How to configure non-J2EE database connections in the
prconfig.xml file.
Before you begin: Before you run a BIX extraction process from the
command-line, you must accomplish the following tasks:
- Enable the BIX ruleset. For more information, see Enabling the BIX ruleset.
- Create a BIX Extract rule. Run the extract as a user that belongs to the same access
group as the user that runs the Pega Platform web node. For details,
see Creating and running an Extract rule. Note the following
BIX extraction information:
- The label of the Extract rule
- The output format of the extract files (CSV, XML, or Database Schema)
- The extraction directory where you want to place the extract files
- Access the following files within the distribution directories of Pega Platform:
- PRPC-8.x.x-8xx\Additional_Products\BIX\config\prconfig.xml
- PRPC-8.x.x-8xx\Additional_Products\BIX\prbootstrap.properties
- Download your appropriate JAR file for your source database and place it in the
following directory:
\PRPC-8.x.x-8xx\Additional_Products\BIX\lib
- Access the following database information:
- The database type (PostgreSQL, Oracle, IBM) that is used for the source database,
including the following:
- The Java Database Connectivity (JDBC) URL. For more information, see your database documentation.
- The associated JAR file for your source database driver downloaded in the
lib
folder of your distribution directory. - The database driver class for the source database. For more information, see your database documentation.
- The rule schema of the source Pega Platform database.
- The data schema of the source Pega Platform database.
- The username and password credentials for the source database. For more information about configuring a database using JDBC URLs, see Creating database instances for JDBC URLs.
- The database type (PostgreSQL, Oracle, IBM) that is used for the source database,
including the following:
If you chose the Database Schema format for the BIX extraction process when you created the Extract rule, configure your target database. For details, see Configuring the target database for BIX command-line extractions.