Details
-
Improvement
-
Status: Open
-
Medium
-
Resolution: Unresolved
-
2.33.0, 2.34.0, 2.35.0, 2.36.0
-
None
-
Yes
-
Yes
-
No
-
Server Features
Description
User Impact:
Logical backups for MySQL are currently unsupported. Even though we disable Logical backup for MySQL from the UI, a user can still attempt to make a logical backup through an API call which will cause an Internal Server Error
Steps to Reproduce:
#1 Enable Backup Management(BM). You need to have BM environment for MySQL prepared.
#2 Add location
#3 make API call :
curl 'http://13.58.255.145/v1/management/backup/Backups/Start' \ -H 'Accept: application/json, text/plain, */*' \ -H 'Accept-Language: en-US,en;q=0.9' \ -H 'Connection: keep-alive' \ -H 'Content-Type: application/json' \ -H 'Cookie: grafana_session=db3c92cad2da0c427467618f1ada0e79' \ -H 'Origin: http://13.58.255.145' \ -H 'Referer: http://13.58.255.145/graph/backup/new' \ -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36' \ --data-raw '{"service_id":"/service_id/32aed550-1c6c-4022-b507-1723777be5ae","location_id":"/location_id/e79fedfd-db5a-44e1-a5c4-10018fd260ed","name":"vdsdfvvdvsdasvsdvsdvsdvsdvsdvsdvsdvsdv","description":"","retry_interval":"30s","retries":0,"data_model":"LOGICAL"}' \ --compressed \ --insecure
Actual Result:
{ "error": "Internal server error.", "code": 13, "message": "Internal server error." }
Expected Result:
I would expect some friendly message like f.e Logical backups for MySQL are not supported at this moment.