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.