Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15737 Ensure all (desired) v1 APIs have v2 equivalent
  3. SOLR-16490

Create a v2 equivalent for /admin/cores BACKUPCORE+RESTORECORE

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.1, main (10.0)
    • main (10.0), 9.4
    • v2 API

    Description

      The /admin/cores?action=BACKUPCORE and RESTORECORE APIs have no equivalent in the v2 paradigm. We should close these gaps, with v2 APIs like the ones below:

      • Create a core-level backup
        • Current v1 API: GET /solr/admin/cores?action=BACKUPCORE&core=coreName
        • Proposed v2 API: POST /api/cores/backups/backupName {...}
        • Spreadsheet Ref: Tab 1, Line 88
      • Restore from a backup to a core
        • Current v1 API: GET /solr/admin/cores?action=RESTORECORE&core=coreName
        • POST /api/cores/coreName/commands/restore
        • Spreadsheet Ref: Tab 6, Line 39

      "Spreadsheet References" are to the Google Sheet available here, which includes additional information about each API, such as the hosting RequestHandler.

      Attachments

        Activity

          People

            gerlowskija Jason Gerlowski
            gerlowskija Jason Gerlowski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 7h 40m
                7h 40m