Description
Execute a backup command, with user ldap user that has Admin role:
[root@node1-cb450-testing-centos6 bin]# ./cbbackup http://localhost:8091 /tmp/backup -u dave -p password
|
[ ] 0.0% (0/estimated 7303 msgs)
|
bucket: beer-sample, msgs transferred...
|
: total | last | per sec
|
byte : 0 | 0 | 0.0
|
2016-03-09 04:53:08,722: mt could not find index server:0
|
[####################] 100.0% (586/estimated 586 msgs)
|
bucket: mybucket, msgs transferred...
|
: total | last | per sec
|
byte : 94693 | 94693 | 51049.6
|
2016-03-09 04:53:12,455: mt could not find index server:0
|
done
|
Now restore the backup using cbrestore without any username/password:
[root@node1-cb450-testing-centos6 bin]# ./cbrestore /tmp/backup/ http://localhost:8091 --bucket-source=mybucket --bucket-destination=temp
|
[####################] 100.0% (586/estimated 586 msgs)
|
bucket: mybucket, msgs transferred...
|
: total | last | per sec
|
byte : 94693 | 94693 | 1472766.4
|
done
|
cbrestore should implement RBAC, to prevent anonymous user from creating docs in CB Server.
Attachments
Issue Links
- relates to
-
MB-18603 Make sure that we respond with the proper error message when we have RBAC issues
- Closed