# PocketBase

Compact self\-hosted SQLite backend with authentication, realtime subscriptions and file storage\.

ID: Q1181 · Revision: 1229

Type: software · License: MIT[^pocket-license] · Status: active

Website: https://pocketbase.io/



PocketBase is an open\-source backend combining an embedded SQLite database, authentication, realtime subscriptions, file storage and an administration interface\. It can run as a standalone executable or be extended as a Go framework, with JavaScript hooks also available\. Its compact deployment is accompanied by an explicit pre\-1\.0 compatibility and production\-readiness warning\.[^pocket-home][^pocket-intro]

## Application model

The project provides native binaries for common desktop and server operating systems and exposes a REST\-style API for application clients\. Files can be stored locally or in S3\-compatible storage\. This supports a frontend\-independent backend, but the design is centered on a single server rather than automatically supplying a distributed managed database service\.[^pocket-home][^pocket-intro][^pocket-production]

## Version and production limits

PocketBase remains pre\-1\.0, and its introduction says full backward compatibility is not guaranteed yet\. It does not recommend PocketBase for production\-critical applications unless the operator accepts reading release notes and performing occasional manual migrations\. This warning is more specific than calling the project either universally production\-ready or unusable for every real application\.[^pocket-intro]

## Backup and configuration

Built\-in backups produce a snapshot of the data directory, including locally uploaded files, but exclude files uploaded to S3 and other local backup archives\. External object storage needs its own protection\. The guide notes that large data directories can make the built\-in snapshot slow enough to justify a different backup strategy\.[^pocket-production]

Application settings are stored as plain JSON by default and can include SMTP and storage credentials\. Optional settings encryption is documented\. A copied database or remote backup should therefore be treated as potentially containing secrets, not merely public application records\. This matters when handing an installation to another operator\.[^pocket-production]

## License and maintenance

PocketBase's MIT license permits modification and redistribution under its notice conditions\. That permissive source license does not provide a managed hosting or support commitment\. The operational choice includes who maintains the server and accommodates breaking changes, in addition to whether the executable is easy to distribute\.[^pocket-license][^pocket-intro]

## Substitution assessment

PocketBase can replace selected [Firebase](/firebase)\-style authentication, record and file\-storage functions for an application suited to its single\-server design and maintenance expectations\. It is not a drop\-in Firebase API implementation or a replacement for every managed service\. The strongest case is a deliberately rebuilt, compact backend whose operator accepts the documented compatibility limits\.[^pocket-home][^pocket-intro][^firebase-home]

PocketBase can substitute for selected [Supabase](/supabase) record, authentication and file\-storage workloads when a compact backend is a better fit than a PostgreSQL\-centered service stack\. Its standalone executable and embedded SQLite database can be convenient for prototypes and deliberately small deployments whose operator accepts the maintenance warning above\. This is an application rewrite, not a PostgreSQL\-compatible server: schemas, queries, authentication integration and access controls need to be translated\. SQL functions or extensions and managed operational services require separate replacements\.[^pocket-home][^pocket-intro][^pocket-production][^supabase-database]

PocketBase can substitute for selected [Appwrite](/appwrite) authentication, record, file and realtime functions when those are the services the application needs\. A developer may choose its portable executable and Go or JavaScript extension hooks for a compact, custom backend\. Appwrite's broader service family includes Functions, Sites and Messaging; evaluate any dependency on those separately rather than treating the smaller deployment as a complete suite replacement\. Rebuild SDK calls and permission rules, and plan file and account migration before cutover\.[^pocket-home][^pocket-intro][^appwrite-services]

PocketBase collection rules control listing, viewing, creating, updating and deleting records, and also filter which records are returned\. A locked rule is superuser\-only, whereas an empty rule allows everyone\. Authorized superusers bypass these rules, so successful tests from an administrator session do not establish that normal users are properly restricted\. Verify the intended access with ordinary and unauthenticated test clients after translating another backend's permission model\.[^pocket-rules]

## Capabilities and substitutions

### Production\-critical readiness — limited

Pre\-1\.0 backward compatibility is not guaranteed; the project warns about manual migration and critical production use\.[^source-9]

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

### Built\-in backups — limited

Snapshots include local uploads but not objects stored in S3\.[^pocket-production]

Use case: Backend 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 auth/data/file functions after rebuilding the integration, where single\-server design and pre\-1\.0 maintenance limits are acceptable\.[^pocket-home][^firebase-home][^source-9]

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

### [Substitute for Supabase](/supabase) — limited

Can replace selected auth, record and file workloads with a compact SQLite\-backed service when pre\-1\.0 maintenance limits are acceptable\. Rebuild schemas, queries and permissions; PostgreSQL functions/extensions and managed operations are separate requirements\.[^pocket-home][^pocket-intro][^pocket-production][^pocket-rules][^supabase-database]

Use case: Compact self\-hosted application backend · Platforms: Web · Region: Single\-server deployment and maintenance requirements apply

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

Can replace selected auth, record, file and realtime functions using a portable custom backend\. Rebuild client integration and permissions; separately replace dependencies on Appwrite Functions, Sites or Messaging\. Retain PocketBase's pre\-1\.0 production caution\.[^pocket-home][^pocket-intro][^pocket-rules][^appwrite-services]

Use case: Compact self\-hosted application backend · Platforms: Web · Region: Single\-server deployment and maintenance requirements apply

## References

[^pocket-license]: [PocketBase license](<https://github.com/pocketbase/pocketbase/blob/master/LICENSE.md>) — MIT license (vendor; retrieved 2026-10-07T00:05:06Z)

[^pocket-home]: [PocketBase overview](<https://pocketbase.io/>) — Inspect current readiness warning, SQLite auth/realtime/storage (vendor; retrieved 2026-10-07T00:04:07Z)

[^pocket-intro]: [PocketBase introduction](<https://pocketbase.io/docs/>) — Pre\-1\.0 compatibility warning; SQLite backend, standalone executable and Go framework (vendor; retrieved 2026-10-09T04:20:00Z)

[^pocket-production]: [PocketBase production guide](<https://pocketbase.io/docs/going-to-production/>) — pb\_data snapshot includes localuploads notS3; plaintextsettings secrets unlessencryption; no officialDockerimage (vendor; retrieved 2026-10-07T00:04:07Z)

[^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)

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

[^supabase-database]: [Supabase database overview](<https://supabase.com/docs/guides/database/overview>) — PostgreSQL foundation and data\-security model (vendor; retrieved 2026-10-09T04:20:00Z)

[^appwrite-services]: [Appwrite product services](<https://appwrite.io/docs>) — Auth, databases, storage, functions, sites and messaging (vendor; retrieved 2026-10-09T04:20:00Z)

[^source-9]: [https://pocketbase\.io/docs/](<https://pocketbase.io/docs/>) — v0\.40\.4; no full backwards compatibility before1\.0, production\-critical caution; SQLite (vendor; retrieved 2026-10-07T00:05:06Z)

Source revision: https://substitutefor.net/entities/Q1181?revision=1229
