Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.5.0
-
Untriaged
-
Yes
Description
Example - 1:
1. Create a backup archive and a repo
2. Execute merge command without taking any backups - proper error is thrown
3. Execute the command again - different error about a open process is thrown
4. Problem goes away if lk file in archive is deleted
Output:
C:\Program Files\Couchbase\Server\bin>cbbackupmgr merge --archive C:\tmp\entback
up --repo backup --start 2016-04-21T04_05_11.4218769-07_00 --end 2016-04-21T04_0
8_33.6580524-07_00
Error merging data: Backup backup doesn't contain any backups
C:\Program Files\Couchbase\Server\bin>cbbackupmgr merge --archive C:\tmp\entback
up --repo backup --start 2016-04-21T04_05_11.4218769-07_00 --end 2016-04-21T04_0
8_33.6580524-07_00
Error merging data: OpenProcess: The parameter is incorrect.
C:\Program Files\Couchbase\Server\bin>
Example - 2:
1. Create a backup archive and a repo
2. Try to take backup with wrong username and password - proper error is thrown as expected
3. Try to execute the backup command again with the correct username and password - open process error is thrown
4. Problem goes away if lk file in archive is deleted
Output:
C:\Program Files\Couchbase\Server\bin>cbbackupmgr config --archive C:/tmp/entbac
kup --repo backup
Backup repository `backup` created successfully in archive `C:/tmp/entbackup`
C:\Program Files\Couchbase\Server\bin>cbbackupmgr backup --archive C:/tmp/entbac
kup --repo backup --host http://172.23.106.117:8091 --username Administrator --p
assword password
Error backing up cluster: Authentication error executing "GET http://172.23.106.
117:8091/pools" check username and password
C:\Program Files\Couchbase\Server\bin>cbbackupmgr backup --archive C:/tmp/entbac
kup --repo backup --host http://172.23.106.117:8091 --username Administrator --p
assword Membase123
Error backing up cluster: OpenProcess: The parameter is incorrect.
C:\Program Files\Couchbase\Server\bin>
Attachments
For Gerrit Dashboard: MB-19311 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
63192,1 | MB-19311: Catch error 87 when processing the lock file on windows | master | backup | Status: ABANDONED | 0 | +1 |
63202,2 | MB-19310, MB-19311: Create watson-beta branch for backup project | master | manifest | Status: MERGED | +2 | +1 |
63204,2 | MB-19311: Catch error 87 when processing the lock file on windows | watson-beta | backup | Status: MERGED | +2 | +1 |
63219,2 | MB-19310, MB-19311: Create watson-beta branch for backup project | master | manifest | Status: MERGED | +2 | +1 |