Cbbackupmgr as Administrator runs into permission error for API

Hi there,

while working on integrating backups into Azure storage, I ran into a weird problem that prohibits me from doing even simple backups.

/opt/couchbase/bin/cbbackupmgr backup -c localhost -u Administrator -p 'XXXX' -a testbackup -r repo1

results in a permission error for the endpoint the CLI is apparently using:

Error backing up cluster: permission error executing ‘GET’ request to ‘/api/v1/bucket/my-bucket/backup’, user missing required permissions

I don’t really understand how this can happen, since I’m using the Administrator user and, to my knowledge, there is no way of altering its permissions? Typos in username/password result in different errors and the CLI doesn’t attempt to start the process itself.

cbbackupmgr version 7.6.1-3200 (c32f0440)
CB Server: 3 nodes with “Enterprise Edition 7.6.1 build 3200”

I would be very grateful if someone could tell me how to navigate this or what information is needed to get a grip on debugging this issue.

Best
Marc

Hi Marc - I don’t find any such known issues. Since you have Enterprise Edition, you can open a ticket with customer support and they can investidate.

  • Mike
1 Like

I’m told there is a similar ticket - 61942, it might help mentioning that to support.
I believe the issue with that ticket was S3 permissions. So maybe check your Azure permissions.

Thanks for your help Mike.

While I did encounter this problem with Azure in the beginning, I also encounter it with a completly fresh new local backup repo. Azure or any other cloud provider is not involved.

I’ll provide that number with the ticket, thanks!

You’ll get the most help directly from your support ticket. I’m not in the cbbackup group.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.