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

By default cbbackupmgr should not backup/restore users

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.6.0
    • 7.6.0
    • tools
    • None
    • 7.6.0-1670
    • Untriaged
    • 0
    • Yes

    Description

      Running some regression test on 7.6.0 and seeing that backup fails for use with the following role: data_backup and backup admin.

      Is this a new requirements?

      couchbase-cli user-manage -c localhost -u Administrator -p password --set --rbac-username user1 --rbac-password password --roles backup_admin --auth-domain local
      SUCCESS: User user1 set 

      # /opt/couchbase/bin//cbbackupmgr backup -a /backup-1 -r my_backup -c http://172.23.216.242:8091 -u user1 -p password
      Backing up to '2023-10-19T13_55_32.9292113-07_00'
      Transferring cluster users                                                                  0 items / 0B
      [................................................................................................] 0.10%
      Error backing up cluster: permission error executing 'GET' request to '/settings/rbac/backup' required permissions are [cluster.admin.security!read]
       
       
      | Transfer
      | --------
      | Status | Avg Transfer Rate | Started At                      | Finished At                     | Duration |
      | Failed | 0B/s              | Thu, 19 Oct 2023 13:55:32 -0700 | Thu, 19 Oct 2023 13:55:33 -0700 | 513ms    | 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              pierre.regazzoni Pierre Regazzoni
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty