Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.0.2, 7.0.3, 7.1.0, 7.1.1
-
Untriaged
-
1
-
Yes
Description
What's the issue?
Users may be faced with the given error when using 'cbexport'.
% cbexport json --cluster couchbases://cb.s4wvrhxwbjxw5ati.cloud.couchbase.com --bucket testbucket1 --format lines -u testuser1 -p 'Abc!1234' --no-ssl-verify -o testbucket1.json
|
JSON export failed: internal server error executing 'GET' request to '/api/v1/backup': {"caller":"auth:386","code":13014,"key":"datastore.couchbase.insufficient_credentials","message":"User does not have credentials to run backup cluster metadata. Add role backup_admin to allow the query to run."}
|
This is because the Query cluster/bucket level backup operations are not disabled for 'cbexport', and should be.
What's the fix?
Both 'cbimport' and 'cbexport' should disable these operations.
Attachments
For Gerrit Dashboard: MB-53000 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
177608,2 | MB-53000 Disables unnecessary operations for import/export | neo | backup | Status: MERGED | +2 | +1 |
177745,1 | Merge branch 'neo' into master | master | backup | Status: MERGED | +2 | +1 |
177899,1 | MB-53000 Disables unnecessary operations for import/export | master | backup | Status: ABANDONED | 0 | 0 |