Supabase PostgreSQL-centered application backend with authentication, storage and hosted or self-hosted deployment.
Overview Supabase is an application backend built around a full PostgreSQL database, with services for authentication, file storage, realtime behavior and functions. It offers a managed platform and a self-hosted stack. Those share core technologies, but the operational services and migration responsibilities are not identical.[3]
Contents Managed and self-hosted operation Self-hosted Supabase runs as a single project rather than the managed platform's multi-organization environment. Managed branching, platform backups and point-in-time recovery, the Management API and some analytics features are absent. Operators must supply their own maintenance, security, monitoring and recovery arrangements.[4]
The local stack run by the Supabase CLI is intended for development and testing, not production exposure. The self-hosting guide explicitly distinguishes it from a production deployment and recommends the Docker setup for that purpose. A working local prototype therefore does not establish an appropriately operated production service.[4]
Backup and migration scope Database backups contain Storage metadata but not the stored objects themselves. Restoring the database cannot by itself recover files deleted from object storage. A complete recovery design needs both database state and file bytes, with the chosen backup method and plan determining how those are captured.[5]
The cloud-to-self-hosted restore guide covers the database and leaves Storage transfer and Edge Function redeployment to separate processes. It also warns about PostgreSQL and Auth/Storage schema-version differences and extension availability. Sharing a PostgreSQL foundation helps portability, but does not guarantee that an arbitrary cloud dump restores unchanged into an older stack.[6]
Licensing and plans The main repository uses Apache 2.0, while constituent projects retain their applicable licenses. Managed plans are a separate service offering with their own resource allowances. Running the open-source stack removes the need for that managed-hosting arrangement, not the cost or responsibility of the infrastructure it uses.[1] [2] [4]
Replacing Firebase components Supabase can replace selected Firebase authentication and application-data services after adapting the application's schema and API calls. Official Firebase Auth migration tooling separates user export and import, with an advanced middleware route for validating an existing password on first login. This is a supported migration path for a component, not automatic replacement of Firebase's entire product family.[3] [7] [8]
Other backend substitutions Supabase can substitute for PocketBase for applications whose next step is a PostgreSQL-centered backend with SQL tooling and a choice of managed or self-hosted operation. PocketBase's compact executable and embedded SQLite model serve a different deployment preference. Moving requires translating collections, queries, user accounts and API rules, rather than pointing an existing PocketBase client at a new URL. Plan file transfer and any custom Go or JavaScript hooks separately, and choose the operating model before designing recovery.[3] [4] [5] [10] [11]
Supabase can substitute for selected Appwrite authentication, file and application-data services when the team wants these organized around a full PostgreSQL database. SQL queries, extensions and database-level access policies can make that a useful fit. Appwrite also offers native database products, so PostgreSQL availability alone does not decide the comparison; the relationship between the database and the surrounding backend services matters. Rebuild SDK calls, permissions and server-side functions, and separately assess dependencies on Appwrite Sites or Messaging.[3] [9] [12] [13]
A migrated database needs an explicit authorization design. Supabase uses PostgreSQL grants together with row-level security policies to control client operations. Configure only the privileges each role needs and test allowed and denied reads, inserts, updates and deletes. Keep service-role access on the server because it bypasses row-level security. A successful administrator query or completed data import does not demonstrate that signed-out visitors and ordinary users have the intended access.[9]
Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.