-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Description
server backup list fails if a backup is in progress.
Steps to reproduce
- Trigger a backup of an existing server, i.e.
stackit server backup create --server-id 00e3830f-1191-4368-a194-fb4bd04afadc --retention-period=2 --name test - While backup is being executed, try to get list of backups, i.e.
stackit server backup list --server-id 00e3830f-1191-4368-a194-fb4bd04afadc
Actual behavior
Please describe the current behavior of the STACKIT CLI. Don't forget to add detailed information like error messages.
stackit server backup list --server-id 00e3830f-1191-4368-a194-fb4bd04afadc
Error: list server backups: in-progress is not a valid Backup, status code 200, Body: {"items":[{"id":"07097214-df4d-4d98-9a43-97fc610c920d","name":"test","createdAt":"2025-12-22T11:23:27Z","expireAt":"2025-12-24T11:23:27Z","size":12,"status":"in-progress","volumeBackups":[{"id":"9b2e8ebd-a93d-4495-99a9-41e3015ad41d","volumeId":"787e4 [...truncated 801 characters...] :"07fda441-9795-483c-bbd3-f9700c0884c1","volumeId":"787e4959-fae6-45bb-8eb1-1030af70a464","size":8,"status":"available"},{"id":"ad417545-d566-4e2d-951b-674ac24a5f06","volumeId":"0fe42f75-1590-440a-96fe-b0b66f61e087","size":4,"status":"available"}]}]}
Expected behavior
Please describe the behavior which you would expect from the STACKIT CLI in that case.
Table with completed and in-progress backups is displayed
Environment
- OS: Windows and Linux
- Version of STACKIT CLI (see
stackit --version):0.50.0 (2025-12-19)(and also 0.43.0)
Additional information
Feel free to add any additional information here.
Issue when a packup is in progress, no issue (list is shown correctly) if not in progress.