Indie Hacker Playbooks

Database & Cache

Separate backend choice, migration timing, service cutover and restore rehearsal

Backend choice involves both the application data model and the services bundled around it. The exit decision addresses control needs and operating capacity, while staged migration addresses the boundaries changed during a move. A scoped restore rehearsal is a separate portability exercise, not evidence that every backend service has been replaced. Supabase and Firebase provide the tool context for these choices.

Start here

  1. Deciding When to Leave Supabase — Distinguish migration need from the ability to operate the target.
  2. Staging a Supabase Database Migration — Plan API, database and attached-service boundaries.
  3. Rehearsing a Supabase Public-Schema Restore — Examine a narrow export exercise and its unverified assumptions.

Pages

Gaps

  • Verified current break-even costs across BaaS and managed PostgreSQL options
  • A migration case with measured downtime, rollback and reconciliation results
  • A tested restore runbook covering custom schemas, cross-schema dependencies, roles, policies and extension placement
  • Auth compatibility and Storage/Realtime migration demonstrated against a real target
  • A source-backed comparison of relational and document-oriented BaaS choices

On this page