You are here: System management > Service-enabled system management > Exporting applications, products, branches, and rulesets (service-enabled)

Exporting products, applications, or branches from the command line

Use the prpcServiceUtils command-line tool to export an archive. One request can export one archive file from one system.

You can export in one of the following ways:

You must have a running Pega 7 Platform instance to use the prpcServiceUtils tool.

To export archive files, follow these steps:

  1. Specify the archive file name and whether to export in asynchronous mode:

    Property nameAction
    export.archiveNameEnter the name of the archive file to export.
    export.async

    Specify whether to run the process in asynchronous mode and queue the jobs. Set to true (default) to return a job ID for each operation that you can use later to check the status.

  2. Optional: To export by product, specify the product name and version:

    Property nameAction
    export.productNameIf you are exporting a product, enter the name of the product to export.
    export.productVersionIf you are exporting a product, enter the version of the product to export.
  3. Optional: To export by application, specify a application name and version:

    Property nameAction
    export.applicationVersionIf you are exporting an application, enter the version of the application to export.
    export.applicationNameIf you are exporting an application, enter the name of the application to export.
  4. Optional: To export by branch, specify a branch name and application context:

    Property nameAction
    export.branchName

    Enter the name of the branch to export.

    export.branchAppContextEnter the application context of the branch ruleset to export. For example: PegaRULES:07.10
  5. Save and close the prpcServiceUtils.properties file.

  6. Run the prpcServiceUtils.bat or prpcServiceUtils.sh script. For example:

    prpcServiceUtils.bat export

The system downloads the exported archive file and saves the export log files to the logs directory.