Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.0.0
-
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
- depends on
-
MB-24111 backup crashes given insufficient permissions
- Closed
For Gerrit Dashboard: MB-23044 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
77414,3 | MB-23044 data backup role | master | ns_server | Status: MERGED | +2 | +1 |