Description
Found on build:859-rel.
cbbackup -m incr backup executes and creates a invalide dir structue. The cbbackup tool should only accept valid backup mode options (full, accu and diff).
The following steps create a bad backup directory structure:
1. /opt/couchbase/bin/cbbackup http://Administrator:password@172.23.106.71:8091 /tmp/backup004
2. /opt/couchbase/bin/cbbackup http://Administrator:password@172.23.106.71:8091 /tmp/backup004 -m incr
This cbbackup should not run for invalid options.
Attachments
For Gerrit Dashboard: MB-11519 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
38720,2 | Mb-11519: Check mode value | master | couchbase-cli | Status: MERGED | +2 | +1 |