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

cbbackupmgr fails to backup FTS aliases for user with 'Data Backup & Restore' role

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • Cheshire-Cat
    • tools
    • Untriaged
    • Centos 64-bit
    • 1
    • No

    Description

      Install Couchbase server 7.0.0-4687 on a centos 7.6 server
      Initialize node with services kv,index,n1ql,fts
      Create default bucket.
      Create a user databk with permission data_backup
      Create backup repo
      Run backup with user databk. cbbackupmgr failed to run

      [root@s44015 ~]# rm -rf /tmp/backup/*
      [root@s44015 ~]# /opt/couchbase/bin/cbbackupmgr config -a /tmp/backup/ -r backup
      Backup repository `backup` created successfully in archive `/tmp/backup/`
      [root@s44015 ~]# /opt/couchbase/bin/cbbackupmgr backup -a /tmp/backup/ -r backup -c localhost -u databk -p password
      Backing up to '2021-03-15T00_30_00.083508785-07_00'
      Transferring full text index aliases                                                                                                                                                                                      0 items / 0B
      [                                                                                                                                                                                                                              ] 0.29%
      Error backing up cluster: {"message":"Forbidden. User needs one of the following permissions","permissions":["cluster.fts!read"]}
       
      | Transfer
      | --------
      | Status | Avg Transfer Rate | Started At                        | Finished At                     | Duration |
      | Failed | 0B                | Mon, 15 Mar 2021 00:30:00 -0700/s | Mon, 15 Mar 2021 00:30:00 -0700 | 70ms     |
      [root@s44015 ~]# 
      [root@s44015 ~]# 
      
      

      Unless we changed what data_backup permission could do, I will find the last stable version

      Attachments

        Issue Links

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

          Activity

            People

              joe.mitchelljones Joe Mitchell Jones
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty