# Supabase

PostgreSQL\-centered application backend with authentication, storage and hosted or self\-hosted deployment\.

ID: Q1113 · Revision: 1161

Type: software · License: Apache\-2\.0 repository with separately licensed constituent services; commercial managed plans[^supabase-license][^supabase-price] · Status: active

Website: https://supabase.com/



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\.[^supabase-database]

## 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\.[^supabase-host]

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\.[^supabase-host]

## 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\.[^supabase-backup]

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\.[^supabase-restore]

## 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\.[^supabase-license][^supabase-price][^supabase-host]

## Replacing Firebase components

Supabase can replace selected [Firebase](/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\.[^supabase-firebase-auth][^supabase-database][^firebase-home]

## Other backend substitutions

Supabase can substitute for [PocketBase](/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\.[^supabase-database][^supabase-host][^pocket-intro][^pocket-rules][^supabase-backup]

Supabase can substitute for selected [Appwrite](/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\.[^supabase-database][^supabase-rls][^appwrite-services][^appwrite-databases]

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\.[^supabase-rls]

## Capabilities and substitutions

### Self\-hosted deployment — limited

Single\-project stack lacks several managed\-platform services; local CLI development stack is not production hosting\.[^supabase-host]

Use case: Infrastructure control · Platforms: Web and mobile client integrations, Supported server or managed\-cloud environment · Region: Deployment region, service plan and integration requirements apply

### Database recovery — limited

Database backups omit actual Storage objects; file recovery is separate\.[^supabase-backup]

Use case: Full application recovery · Platforms: Web and mobile client integrations, Supported server or managed\-cloud environment · Region: Deployment region, service plan and integration requirements apply

### [Substitute for Firebase](/firebase) — limited

Can replace selected services with application/schema changes; Auth migration does not cover the whole Firebase suite\.[^supabase-database][^supabase-firebase-auth][^firebase-home]

Use case: Authentication and application\-data backend · Platforms: Web and mobile client integrations, Supported server or managed\-cloud environment · Region: Deployment region, service plan and integration requirements apply

### [Substitute for PocketBase](/pocketbase) — limited

Can replace a compact SQLite\-backed app with a PostgreSQL\-centered backend and managed/self\-hosted options\. Translate collections, queries, auth and API rules; separately port custom hooks and files\. It is not a PocketBase\-compatible endpoint\.[^supabase-database][^supabase-host][^pocket-intro][^pocket-rules]

Use case: Authentication and application\-data backend · Platforms: Web · Region: Deployment, plan and integration requirements apply

### [Substitute for Appwrite](/appwrite) — limited

Can replace selected auth, file and data services when full PostgreSQL integrated with backend services is preferred\. Rebuild API calls, authorization and functions, and assess Sites/Messaging dependencies separately\. Appwrite also has distinct native database products\.[^supabase-database][^supabase-rls][^appwrite-services][^appwrite-databases]

Use case: Authentication and application\-data backend · Platforms: Web · Region: Deployment, plan and integration requirements apply

## References

[^supabase-license]: [Supabase repository license](<https://github.com/supabase/supabase/blob/master/LICENSE>) — Apache2 repository, constituent service licenses remain separate (vendor; retrieved 2026-10-07T00:05:06Z)

[^supabase-price]: [Supabase pricing](<https://supabase.com/pricing>) — Managed service plans separate from open\-source selfhost (vendor; retrieved 2026-10-07T00:06:04Z)

[^supabase-database]: [Supabase database overview](<https://supabase.com/docs/guides/database/overview>) — Full PostgreSQL foundation for auth storage realtime and functions (vendor; retrieved 2026-10-07T00:05:06Z)

[^supabase-host]: [Supabase self\-hosting](<https://supabase.com/docs/guides/self-hosting>) — Singleproject; CLI dev notproduction; managedbranching/PITR/metrics/ETL/ManagementAPI gaps (vendor; retrieved 2026-10-07T00:04:07Z)

[^supabase-backup]: [Supabase database backups](<https://supabase.com/docs/guides/platform/backups>) — Database backups omit Storage object bytes; free tier manual/offsite recommendation (vendor; retrieved 2026-10-07T00:04:07Z)

[^supabase-restore]: [Supabase cloud\-to\-selfhost restore](<https://supabase.com/docs/guides/self-hosting/restore-from-platform>) — Inspect migration versions, auth and storage omissions (vendor; retrieved 2026-10-07T00:05:06Z)

[^supabase-firebase-auth]: [Supabase Firebase Auth migration](<https://supabase.com/docs/guides/platform/migrating-to-supabase/firebase-auth>) — Inspect password migration versus reset route (vendor; retrieved 2026-10-07T00:05:53Z)

[^firebase-home]: [Firebase product family](<https://firebase.google.com/products-build>) — Auth storage functions hosting; Firestore NoSQL vs SQLConnect PostgreSQL (vendor; retrieved 2026-10-07T00:05:06Z)

[^supabase-rls]: [Supabase row\-level security](<https://supabase.com/docs/guides/database/postgres/row-level-security>) — Database grants, RLS policies, operation\-specific tests and server\-side service role (vendor; retrieved 2026-10-09T04:21:30Z)

[^pocket-intro]: [PocketBase introduction](<https://pocketbase.io/docs/>) — SQLite backend and pre\-1\.0 compatibility warning (vendor; retrieved 2026-10-09T04:21:30Z)

[^pocket-rules]: [PocketBase API rules](<https://pocketbase.io/docs/api-rules-and-filters/>) — Collection action rules and record filtering (vendor; retrieved 2026-10-09T04:21:30Z)

[^appwrite-services]: [Appwrite product services](<https://appwrite.io/docs>) — Authentication, databases, storage, functions and additional services (vendor; retrieved 2026-10-09T04:21:30Z)

[^appwrite-databases]: [Appwrite database choices](<https://appwrite.io/docs/products/databases>) — API databases and separately provisioned native engines (vendor; retrieved 2026-10-09T04:21:30Z)

Source revision: https://substitutefor.net/entities/Q1113?revision=1161
