Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-23044

The Data Backup role needs to have permissions to backup up and restore indexes

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      Users will expect that our backup role will be able to backup and restore data, views, secondary indexes, fts indexes, and the bucket configuration. The current role only allows us to backup and restore data in the index service. We should elevate this role from being a data service only role and give it the ability to access all of the endpoints that backup uses.

       

      Get/Post View Index definitions:

      /pools/default/buckets/<bucket>/ddocs
      /pools/couchBase/<bucket>/<ddoc_id>

       

      Get/Post secondary indexes (On index node):

      /getIndexMetadata?bucket=<bucket>
      /restoreIndexMetadata?bucket=<bucket>

       

      Get/Post Bucket Settings:

      /pools/default/buckets
      /pools/default/buckets/<bucket>

       

      Get/Post FTS Indexes (On FTS Node):

      /api/index
      /api/index/<index_name>?prevIndexUUID=*

       

      Configuration Related API’s:

      /pools/default/nodeServices (To locate all of the ports for each service on a node)
      /pools

       

      Note that backup does not use the query service for backup/restore.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-23044
          # Subject Branch Project Status CR V

          Activity

            People

              arunkumar Arunkumar Senthilnathan (Inactive)
              mikew Mike Wiederhold [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty