Deleting old versions of files in the library
If your library grows too much, you can delete all, or some, old
versions of a file using the command
delete-library-versions
. Single old versions can also be
deleted directly from the
Library user interface.
About this task
Note: With version history enabled, there is a risk that data that should
have been removed remains in the library, in an older version of the analysis.
For example, if a piece of sensitive data by mistake gets embedded into an
analysis and later is removed, the old versions of the analysis that contain
the sensitive data should also be deleted.
See
Deleting library item versions using the command line,
and the reference topic for
delete-library-versions for details about
the CLI command.
Tip: The Spotfire action log can be used to track what has
happened with item versions in the library. See
library actions logged from Spotfire Server
for more information.
To delete a single version manually, follow the steps below.
Procedure
- Log in to the Spotfire Server web administration pages and click Library.
- Browse or search for the file for which to delete versions.
- Right-click the row of the item and select View version history, or open the details panel and click Version history.
- In the Version history list to the right, right-click on the version you want to revert to, and select Delete.
- Deleting library item versions using the command line
An administrator can delete old versions using the command line. This topic contains some scenarios and examples on how you can use thedelete-library-versions
command.
Parent topic: Library version history