The DSpace command launcher or CLI interface offers the execution of different maintenance operations. As most of these are already documented in related parts of the documentation, this page is mainly intended to provide an overview of all available CLI operations, with links to the appropriate documentation.

Executing command line operations

The CLI interface is found at [dspace]/bin/dspace. Execute it without arguments or with the -h option to see all available operations. Execute dspace op -h to see details about the op operation.

Examples:

bin/dspace -h

bin/dspace cleanup -h

bin/dspace cleanup

bin/dspace cleanup --verbose

Available operations

General use

bitstore-migrate: Migrate all files (bitstreams) from one assetstore (bitstore) to another

Legacy statistics

Legacy statistics parse the DSpace log files and compile information based on the "[dspace]/config/dstat.cfg" configuration file. They are no longer actively maintained, but still exist in the codebase because there is information they report on that is not yet accessible in (or replaced by) SOLR Statistics. Where possible, we recommend using SOLR Statistics and/or Google Analytics for more accurate data.