Spotfire® Server and Environment - Installation and Administration

Exporting library content by using the command line

Instead of using the Library Administration tool in Spotfire Analyst, you can export content from the library by using the command line.

Before you begin

You must have administrative credentials for Spotfire Server. If Spotfire Server is set up to authenticate with the Spotfire database using Windows Integrated Authentication, you must run commands as the same user that Spotfire Server authenticates as. Otherwise, the commands cannot authenticate with the database.

About this task

For general information about library administration, see the Spotfire Analyst User Guide.

Procedure

  1. Open a command line as an administrator (or, if you are using Windows Integrated Authentication, as the Spotfire Server database user) and go to the <server installation dir>/tomcat/spotfire-bin directory.
  2. On the command line, enter the export-library-content command, specifying the options needed to import the ZIP file.
    Example:
    config export-library-content --tool-password=password --file-path=C:/YearEndAnalyses --user=jdoe --item-type=analysis_files --library-path=/Finals/Europe
    For more information, see export-library-content.

Results

The progress of the export is displayed on the command line.

The exported folder and its contents are saved as a ZIP file. The exported items are not removed from the library.