Details
-
Task
-
Resolution: Done
-
Trivial
-
master
-
0
Description
What's the issue?
cbbackupmgr backup -c couchbases://$connection_string -u $api -p $secret -a $archive -r $repo
|
Error backing up cluster: bad scheme
|
2023-04-04T12:44:57.197+01:00 (Cmd) backup -c couchbases://couchbases://cb.matty-test-withsample-byxbxr.sdk.dev.nonprod-project-avengers.com -u <ud>wETEQHHp12pUVoEIbZJFaTJCAuEqc14m</ud> -p ***** -a /Users/mattymaclean/Documents/archive -r repo
|
2023-04-04T12:44:57.197+01:00 (Cmd) mounted archive with id: 17cd6bba-b7b4-4b94-b66f-fa1140decd62
|
2023-04-04T12:44:57.199+01:00 (Cmd) Error backing up cluster: failed to parse connection string: bad scheme
|
The error for parsing the connection string is wrapped meaning it's stripped at the top-level, causing a context-less error message.
What's the fix?
We shouldn't wrap the "failed to parse connection string" error.