You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Launch] Enable retention cron and verify database backups #86
Start Command: node dist/jobs/run-retention.js (not npm run retention)
Cron Schedule: 0 3 * * * (03:00 UTC)
Variables: DATABASE_URL (reference Postgres, same as API)
Deploy → Run now → confirm JSON log with "ok":true and deployment exits (inactive)
Postgres backups
Postgres service → Backups → automated backups enabled
Optional: enable PITR before you need it
Verify
# After first cron run — check Railway retention-cron logs for:# {"ok":true,"dryRun":false,"projectsProcessed":N,...}
pnpm --filter api retention -- --dry-run # local sanity (dev DB)
Activity
Merge pull request #320 from Telemetry-Tracker/ops/86-retention-cron-…
docs(ops): add retention dry-run and Railway backup runbook (Telemetr…
release: finalize CHANGELOG for v1.6.5
unjica commentedon Jul 9, 2026
Ops checklist (maintainer)
Retention cron (Railway dashboard)
retention-cronapps/apinode dist/jobs/run-retention.js(notnpm run retention)0 3 * * *(03:00 UTC)DATABASE_URL(reference Postgres, same as API)"ok":trueand deployment exits (inactive)Postgres backups
Verify
Docs: docs/RAILWAY.md#retention-cron
unjica commentedon Jul 11, 2026
Closed — verified 2026-07-11
node dist/jobs/run-retention.js, schedule0 3 * * *dryRun:false, projects processed)