Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2267

Should be a way to easily backup & restore Solr Statistics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 1.7.0, 1.8.0, 3.0, 4.0, 5.0
    • Fix Version/s: 5.0
    • Component/s: Statistics
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      5
    • Documentation Status:
      Needed

      Description

      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:
      https://wiki.apache.org/solr/CSVResponseWriter

      For example:

      • './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.

        Attachments

          Activity

            People

            Assignee:
            peterdietz Peter Dietz
            Reporter:
            tdonohue Tim Donohue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: