Operations

Backups

Use the kit's scripts/backup.sh; it dumps both PostgreSQL databases and writes a SHA-256 checksum. Restore drills are mandatory.

Metrics

curl -H "Authorization: Bearer $METRICS_TOKEN" https://id.example.com/metrics

Metrics:
identity_console_up
identity_console_db_up
identity_console_sessions_total
identity_console_audit_events_total
identity_console_access_reviews_open
identity_console_access_requests_pending
identity_console_process_*

Retention

AUDIT_RETENTION_DAYS=365

Use the UI purge or scripts/audit-retention.sh. Export before deleting.

Upgrades

  1. 1 Back up both databases.
  2. 2 Pull the new image tag.
  3. 3 Run the new image.
  4. 4 Check /signed-out, login, one admin page and one app.
  5. 5 Keep the previous image tag for rollback.
Do not use latest in production; pin exact versions.