1009 B
1009 B
Quickstart: Backup Scheduler & Unified Task UI
Prerequisites
- Backend running:
cd backend && uvicorn src.app:app --reload - Frontend running:
cd frontend && npm run dev
Usage Guide
1. View Tasks
- Navigate to the new Tasks tab in the main navigation bar.
- Observe the list of recent tasks (Backups, Migrations).
- Click on any task row to view detailed logs.
2. Configure Scheduled Backups
- Go to Settings.
- Edit an existing Environment (or create a new one).
- Scroll to the Backup Schedule section.
- Enable the "Automatic Backups" toggle.
- Enter a valid Cron expression (e.g.,
*/5 * * * *for every 5 minutes). - Save the environment.
- Wait for the scheduled time and verify a new Backup task appears in the Tasks tab.
3. Manual Backup Trigger
- Go to the Tasks tab.
- Click the Run Backup button (top right).
- Select the target environment from the dropdown.
- Click Start.
- Watch the new task appear with "Running" status.