Is your improvement request related to a problem? Please describe.
The backup command succeeds even if the specified backup method does not exist. For example:
kbcli cluster backup mycluster --method=bad_method
But the backup ops reports error message:
Warning DoActionFailed 1s (x12 over 11s) ops-request-controller Failed to process the operation of OpsRequest: backup method bad_method is not supported, please check cluster's backup policy
Describe the solution you'd like
kbcli should check the specified backup method before invoking a backup ops.
Is your improvement request related to a problem? Please describe.
The backup command succeeds even if the specified backup method does not exist. For example:
But the backup ops reports error message:
Describe the solution you'd like
kbclishould check the specified backup method before invoking a backup ops.