Spotfire® Server and Environment - Installation and Administration

Configuring external library storage in a file system

You can configure external library storage in a file system by using the command line.

Before you begin

You must have administrative credentials for Spotfire Server.

About this task

In addition to the information in Library content storage outside of the Spotfire database, you should be aware that the file system operations have no transactions, which might lead to corruption of files. File system storage is primarily intended for test systems.

Procedure

  1. Back up the database.
  2. On the command line, export the library using the export-library-content command. (For details on using the Spotfire command line, see Executing commands on the command line.)
  3. Remove the content from the library.
    Note: Do not use the truncate command in the database because there are hidden folders that should not be removed.
  4. To enable external storage and to select the type of external storage, use the command config-library-external-data-storage.
  5. To specify the path to the storage root, use the command config-library-external-file-storage. Subdirectories for the content files are created under this root.
  6. Import the library.
    Note: The external library storage system uses the Spotfire library data IDs to identify files.

    For information on monitoring the external system, see Monitoring external library storage and fixing inconsistencies.