Spotfire® Server and Environment - Installation and Administration

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

You can export the routing rules and saved schedules, including scheduled Automation Services jobs, 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.

About this task

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

Procedure

  1. Open a command line as an administrator and go to the <server installation dir>/tomcat/spotfire-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.

Results

In this example, the rules.json file containing your scheduled updates, Automation Services jobs, and routing rules is available in the <server installation dir>/tomcat/spotfire-bin directory.