The module provides a set of commands for removing selected versions from the version history.
Remove unneeded versions according to its configuration.
Remove all versions found except root and leaf versions.
The cleanVersions and cleanAllVersions commands can be configured with the following parameters when invoked:
Does a "dry run", going through the selected versions but without deleting or modifying them.
If true, will save an export of each version to be deleted to the specified
NOTE: using this option may generate many files. Be sure you have sufficient space to store the archive versions.
Directory for storing archived versions and cleaning run history.
NOTE: Magnolia must have read and write permissions for the directory.
The maximum number of version nodes that will be checked during a run.
If set to a number less than 0, all version nodes will be checked.
These parameters can also be set as properties in the command configuration, at
The diagnostic commands can be found in the version cleaner catalog:
Locate corrupted versions in the version workspace.
A version is corrupt if it:
The versions selected for removal by the
cleanVersions command are controlled by Voters. The cleanVersions command has two sets of voters: