Skip to content

Add database backup and restore CLI commands - #108

Closed
kael-developer[bot] wants to merge 1 commit into
ai-devfrom
agent/add-database-backup-and-restore-cli-comm
Closed

Add database backup and restore CLI commands#108
kael-developer[bot] wants to merge 1 commit into
ai-devfrom
agent/add-database-backup-and-restore-cli-comm

Conversation

@kael-developer

Copy link
Copy Markdown
Contributor

Why

Problem
While workflow definitions and execution state are persisted, there is no built‑in way for operators to backup the database or restore from a backup, making disaster recovery manual and error‑prone.

Solution
Extend the existing Click‑based CLI to include sdlc db backup <file> and sdlc db restore <file> commands that dump and load the database using SQLAlchemy's engine (supporting PostgreSQL and SQLite). Include optional compression and retain backups in a configurable directory.

Value
Operators can reliably create point‑in‑time snapshots and recover from data loss, satisfying operational best practices and audit requirements.

What changed

Implementation complete.

Closes #103

🤖 Implemented automatically by Kael AI Agent

Implemented by Kael AI Agent
@unitz007
unitz007 deleted the branch ai-dev March 15, 2026 20:00
@unitz007 unitz007 closed this Mar 15, 2026
@unitz007
unitz007 deleted the agent/add-database-backup-and-restore-cli-comm branch March 15, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant