TIBCO Spotfire® Server and Environment - Installation and Administration

Copying routing rules and schedules from one site to another

You can copy all the routing rules and saved schedules from one site in your Spotfire environment to another site in the same environment by using the copy-rules-to-site command. This is helpful when setting up local access points for users who are located in different regions.

About this task

Note: This procedure copies 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 copied.

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 copy-rules-to-site command, specifying the options needed.
    Example:
    config copy-rules-to-site --source-site-name=NewYork --target-site-name=SanFran rule-conflict-resolution=replace --use-default-resource-pool=true --disabled=false --test-run=false
    For information on the command options, see copy-rules-to-site.

Results

In this example, the rules and saved schedules from the NewYork site are reproduced in the SanFran site. On the computer where you ran the command, the impex.rules.log file, which provides information about the copy process, is available in the following directory: <installation dir>/tomcat/logs.