TIBCO Spotfire® Server and Environment - Installation and Administration

Monitoring external library storage and fixing inconsistencies

Because there is no guarantee of referential integrity when using external library storage, the administrator should regularly check for inconsistencies between the metadata in the Spotfire database and the files in external storage.

Procedure

  1. On the command line, enter the command check-external-library to check for discrepancies. (For details on using the Spotfire command line, see Executing commands on the command line.)
    A discrepancy report is generated, including where discrepancies occur and any available information to help identify the "orphan" files. This is an excerpt from a report:
    Example of the report that is produced by running 'check-external-library' command
  2. If a file is found in external storage that is not referenced in the Spotfire database, you can download the file. If it is an analysis file, you can then manually save it to the Spotfire library. If metadata is found for a file that does not exist, you can delete the metadata.
    If you want to Do this
    Retrieve an orphan file from Amazon Web Services S3 (AWS) Download it using the command s3-download.
    Retrieve an orphan file from an external file system Manually copy it from the file system.
    Delete files from AWS Use the command delete-library-content.
    Delete files from an external file system Manually delete the files.
    Delete metadata from Spotfire Server Use the command delete-library-content.