mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
FEAT (backups): Add multiple backup schedules UI #106
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @commKnightWeb on 2/22/2026
Summary
saveBackupConfigto usePOST /backup-configs(create) andPUT /backup-configs/:id(update) instead of the removed/saveendpoint — this was causing aSyntaxError: Unexpected token '<'when creating a database.dockerignoreto excludebackend/ui/build, preventing a stale pre-built frontend from overwriting the Docker-built frontend assetsidandnamefields to theBackupConfigmodel (backend requiresnamefor validation)BackupSchedulesComponent— shows all backup schedules for a database as a list with add, edit, and delete functionalityinitialConfigprop toEditBackupConfigComponentso callers can pass a specific config to edit (instead of always fetching the first one from the API)getBackupConfigsByDbID(returns full array) anddeleteBackupConfigtobackupConfigApicurrentStorageIdloading inDatabaseConfigComponentTest plan
SyntaxErroron savedocker build --no-cache) produces a working image with the new UI🤖 Generated with Claude Code