It'd be nice to provide an easy, out-of-the-box way to backup and restore your Solr Statistics index in DSpace.
Currently, if your Solr Statistics index gets corrupted in some way, there's no easy way to "restore" that data unless you are either:
- Performing regular backups of [dspace]/solr/statistics/
- OR, have kept a copy of all your historical DSpace log files (which takes up a lot of space).
It'd be nice if we could provide an additional safety mechanism to easily export your Solr Statistics index to CSV:
- './dspace stats-util export-csv' to export the entire index to CSV for backup
- './dspace stats-util import-csv' to re-import a CSV for restoration
This idea came up in a discussion with helix84 on IRC.
It shouldn't be too hard to implement. Just needs a volunteer.