How to export or backup a project from the TIBCO Spotfire library using the command line interface (CLI).

How to export or backup a project from the TIBCO Spotfire library using the command line interface (CLI).

book

Article ID: KB0080305

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

The Spotfire library content can be exported manually via the Library Administration tool in the TIBCO Spotfire Analyst client. This can also be performed via the command line config tool which allows the process to be automated to create regular backups/snapshots of the library content.

Issue/Introduction

How to export or backup a project from the TIBCO Spotfire library using the command line interface (CLI).

Resolution

To perform a command line export of library content, use the config tool command "export-library-content".

Syntax:
export-library-content [-f | --force] [-b value | --bootstrap-config=value] [-t value | --tool-password=value] <-p value | --file-path=value> <-u value | --user=value> [-a <true|false> | --include-access-rights=<true|false>] <-i value | --item-type=value> <-l value | --library-path=value>

Example:
C:\tibco\tss\7.0.0\tomcat\bin> config export-library-content -p=C:\tibco\tss\7.0.0\tomcat\application-data\library\myCommandlineExport -u=myUser -l=/myFolder/mySubFolder -i=folder
 

Result:
The myCommandlineExport.part0.zip will be created in the specified (C:\tibco\tss\7.0.0\tomcat\application-data\library\) folder. If no file path is specified, the exported file will be created in the \tomcat\bin\ folder where the config.bat tool resides.

Additional Information

Doc: import-library-content Doc: export-library-content: