Product: TIBCO Spotfire®
How to export or backup a project from the Spotfire library using the command line interface (CLI)?
Description: The Spotfire library content can be exported manually via the Library Administration tool in the installed Analyst/Professional 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.
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 | --include-access-rights=] <-i value | --item-type=value> <-l value | --library-path=value>
Example:
C:\tibco\tss\6.5.0\tomcat\bin> config export-library-content -p=C:\tibco\tss\6.5.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\6.5.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.
Reference: TIBCO Spotfire Server Installation and Administration Manual:
• https://docs.tibco.com/products/tibco-spotfire-server
TIBCO Spotfire Professional/Analyst Web Help:
• https://docs.tibco.com/pub/spotfire/6.0.0-november-2013/userguide-webhelp/lib/lib_exporting_from_library.htm
Keywords: command line interface, export, config, library export, backup, cli
Comments
0 comments
Article is closed for comments.