Operations Runbook
Health
Section titled “Health”curl http://localhost:3001/healthcurl http://localhost:3001/health/detailsdocker compose psdocker compose logs --tail=200 backend frontendUse details for catalog, queue, watcher, maintenance, runtime, and Drive. /api/v1/admin/* endpoints provide jobs, metrics, cache, covers, integrity, and circuit breakers.
Catalog and cache
Section titled “Catalog and cache”- normal refresh: watcher and reconciliation;
- cache cleanup: inspect first; POST is a dry run,
?apply=trueapplies it; - integrity: run a scan before repairing;
- covers: list problems and regenerate selectively;
- job: cancel only pending jobs; retry only failed/cancelled jobs.
Backup
Section titled “Backup”- download
/api/v1/admin/backup; - verify it at
/api/v1/admin/backup/verify; - store it off-host;
- for restore, use the required confirmation and a maintenance window;
- validate health/catalog/reading state.
Logs and metrics
Section titled “Logs and metrics”Logs are JSON and should be searched by event/requestId. Metrics are process-local and reset with it; reader metrics persist in PostgreSQL. Redis keeps only disposable caches.
