After creating versions, periodically you may want to delete some expired or unused versions. You can choose to remove these versions manually or configure JReport Server to delete them automatically. When removing the versions using the user interface, the archive versions stored on disk are also physically deleted.
To delete some versions of a resource manually, first open the version table of the resource (for how to access the table, see Browsing versions), then:
After receiving "The version has been deleted" message, view the version information again. You will find that the version you selected has now been removed from the version table.
There are two approaches to automatically deleting versions:
When creating a resource version, you can specify the maximum number that will be saved. If the number of versions exceeds the specified number, the oldest version will automatically be removed from the version list.
For example, if you specify Maximum Number of Versions as 5, when the sixth version is created, the first version will automatically be removed.
When creating a report result version, you can specify a certain period of time to keep the version. The version will automatically be removed from the version list after the number of days or the specified date.
For example, if you specify "Result Expires in 30 days", it will be automatically removed 30 days after its creation.