Table of Contents

For Pega Platform version 8.3 and earlier: Migrating rules and objects to the new rules schema


Only available versions of this content are shown in the dropdown

Use the migrate script to migrate the rules tables and other required database objects from the existing rules schema to the new rules schema. To minimize the time required, run the migration scripts from the same data center as the database server.

Pega strongly recommends that you use the Pega-provided migration script. The use of vendor tools to manage this step is not recommended, since there are additional manual steps required to migrate the schema, not documented here, if you do not use the migrate script.
  1. Use a text editor to edit the file in the scripts directory of your distribution image:

  2. Configure the source properties.

    # Connection Information
    pega.source.jdbc.driver.jar=full path/DRIVER.jar
    pega.source.jdbc.driver.class=database driver class
    pega.source.database.type=database vendor type
    pega.source.jdbc.url=URL of database
    pega.source.jdbc.username=Deployment user name
    pega.source.rules.schema=existing rules schema name data schema name     
  3. Configure the target properties. Leave the target data schema name blank: path/DRIVER.JAR driver class vendor type URL user name rules schema  
    If is blank, the rules schema is used by default.
  4. Configure the bulkmover directory: path to output directory
  5. Configure a temporary directory: path to temporary directory
  6. Configure the operations to be performed by the utility as shown below:

  7. Save the properties file.

  8. Open a command prompt, and navigate to the scripts directory.

  9. Type migrate.bat or ./ to run the script.

Pega Platform writes command-line output to a file in the Pega-image\scripts\logs directory.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.