Storage and scheduler
SQLite, optional PostgreSQL and log sinks, backups, cleanup, and scheduled reports.
Config: storage, setup.data_dir, scheduler.
Console: Operations, System.
REST: /api/storage, /api/backup/*, /api/scheduler/*.
Default store
YAML
SQLite holds users, review items, promote deadlines, and operational state.
It uses modernc.org/sqlite (no CGO).
Extra sinks
| Sink | When to enable |
|---|---|
storage.postgresql | Share logs with an existing Postgres |
storage.clickhouse | High-volume log analytics |
storage.victorialogs | VictoriaLogs HTTP ingest |
storage.redis | Optional cache / coordination. Off in the sample |
Private endpoints stay blocked unless allow_private_endpoint is true.
POST /api/system/storage/test checks a backend before you switch.
Scheduler
YAML
GET /api/scheduler/tasks and PUT /api/scheduler/tasks edit the list.
GET /api/scheduler/history shows runs.
Backup
POST /api/backup/export downloads a backup.
POST /api/backup/restore applies one.
POST /api/storage/cleanup and POST /api/system/reclaim free disk after you have a backup.