Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.0.0, 7.0.1
-
Triaged
-
1
-
Yes
Description
Problem
In 7.0.0 this command fails where it works on 6.6.0:
2021-08-20T15:43:47 ERROR Subprocess call exited with non-zero return code 1
|
2021-08-20T15:43:47 ERROR Arguments: cbbackupmgr restore --archive /data/backups --repo test-couchbase-dxqst-2021-08-20T15_43_04 --cluster http://test-couchbase-dxqst:8091 --username Administrator --password password --start latest --end latest --no-progress-bar --include-data default-0 --threads 4
|
2021-08-20T15:43:47 ERROR Stdout: b'Error restoring cluster: invalid keyword usage start/oldest must come before end/latest\n'
|
This is one of the only cases where having latest or end as the --start is valid. The same is true for --end with oldest or start.
Suggestion
Should validate that the key word is correct, then check that --start is older or the same as --end.