Exporting routing rules and schedules for import in a different Spotfire environment

You can export the routing rules and saved schedules from a Spotfire Server to a JSON file. Then, to prepare for a rolling update or to test and validate a new version of Spotfire, you can import the JSON file on a different Spotfire environment.

Note: This procedure exports rules that were created in the Spotfire Server administration interface. Scheduled updates that are triggered externally, for example by TIBCO Enterprise Message Service (EMS), are not exported.

Procedure

  1. Open a command line as an administrator and go to the server installation dir/tomcat/bin directory.
  2. On the command line, enter the export-rules command, specifying the options needed to export the data to a JSON file. Example:
    config export-rules --bootstrap-config="C:\Work\Spotfire\bootstrap.xml" --tool-password=Spotfire --keystore-file "C:\Work\nm\trust\keystore.p12" --force
    For information on the command options, see export-rules.

Result

In this example, the rules.json file containing your scheduled updates and routing rules is available in the server installation dir/tomcat/bin directory.