feat(KB-327): add automatic database backup system
- Add backup settings to ProjectSettings with schedule, retention, and directory config - Create BackupManager with create, list, cleanup, and restore operations - Add CLI backup commands: --create, --list, --restore, --cleanup - Implement backup validation and automation sync for scheduled backups - Add dashboard backup settings UI with stats and 'Backup Now' button - Add backup API routes for settings management and manual operations - Include comprehensive backup tests and changeset for patch release - Document backup configuration and recovery in AGENTS.md
This commit is contained in:
11
.changeset/auto-database-backup.md
Normal file
11
.changeset/auto-database-backup.md
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
"@dustinbyrne/kb": minor
|
||||
---
|
||||
|
||||
Add automatic database backup feature
|
||||
- Configurable backup schedule (cron expression)
|
||||
- Configurable retention policy (number of backups to keep)
|
||||
- Manual backup and restore via CLI (`kb backup --create`, `--list`, `--restore`, `--cleanup`)
|
||||
- Dashboard settings UI for configuration with backup statistics
|
||||
- Automatic cleanup of old backups exceeding retention limit
|
||||
- Pre-restore backup creation for safety
|
||||
Reference in New Issue
Block a user