What is PocketBase and why does it use SQLite to create a small backend?

Published on 2026-10-20 by frfrand

What is PocketBase, why it uses SQLite and when it makes sense: authentication, real-time API, backups and limitations before version 1.0, and how to host it.

What is PocketBase and why does it use SQLite to create a small backend?

Short answer: PocketBase is a lightweight backend that combines a SQLite database, API, authentication, and real-time functions into an application you can run yourself. It fits well in prototypes and internal tools; before using it in production, you need to look at backups, concurrent writes, and that, as of November 2026, it still hasn't reached version 1.0.

It stands out because with a few steps you can have something that normally requires configuring several pieces.

But "small" doesn't mean "suitable for any project." It's worth understanding its advantages and its limits before falling in love with the idea.

What makes it special?

In many projects, a developer sets up a database, an API server, authentication, and perhaps a service to sync changes. PocketBase attempts to offer an integrated set for certain types of applications.

It uses SQLite as the database engine. This means data is stored in local files managed by that engine, with transaction mechanisms and concurrency control.

SQLite is a serious and widely used technology; it's not a "toy database." However, its characteristics and way of operating are not identical to a PostgreSQL deployed as an independent service.

An example: a small internal application

Imagine that a team of five people wants to store ideas, assign tasks, and attach documents. It needs users, permissions, and records that update from multiple devices.

With PocketBase you can model collections, configure rules, and develop a frontend that uses its interfaces. For this type of application, it can be a quick way to experiment.

Still, access rules need to be verified. If the frontend hides a private task but the API returns it to anyone, the application still has a serious security problem.

What does "real-time" mean?

Some systems allow a connected client to receive notifications when a relevant change occurs. This is useful for a task board or a screen that displays new notifications.

It does not mean that your entire application synchronizes correctly without effort. You have to manage disconnections, possible simultaneous changes, and what information each user should receive.

A real-time update does not replace a transaction that protects data against incompatible operations.

When is SQLite convenient and when is it not?

SQLite simplifies many scenarios because you do not need to manage a separate database server. It is great for local tools, small applications, and projects with appropriate access patterns.

But if you need a distributed write architecture, complex replicas, or loads that don't fit its access model, it is reasonable to study PostgreSQL or another solution.

Do not make the decision based solely on the number of users. What matters especially is what operations they perform, how frequently, and what recovery guarantees you need.

What happens with backups?

Since part of the storage depends on files, it is essential to know which directories contain the data, what happens during the copy, and how to perform consistent restorations.

Copying files by hand while a database is writing is not automatically a safe strategy. Use the backup mechanisms recommended by the project and test a real restoration.

If you host PocketBase on a server, you also need to think about disk persistence. Losing a temporary container should not mean losing your users' accounts and documents.

Is it recommended for production?

It depends on the state and guarantees of the version you use, the criticality of the business, and how much maintenance you are willing to assume. PocketBase's own documentation warns (as of November 2026) that the project is still in active development and does not guarantee backward compatibility until version 1.0: an update may require changes.

For a prototype or internal tool, the compromise may be reasonable. For a critical payment system or medical records system, continuity, auditing, and support requirements may lead you to another architecture.

How would it be used with ArduMaker?

PocketBase is not in ArduMaker's app catalog: it runs as a self-managed service within a VPS. If the binary and its configuration live in a GitHub repository, the deploy can declare it as a process with its port, and the platform writes and restarts that systemd unit on each deploy; otherwise, a systemd service is created from the panel. For HTTPS, a domain is published on the VPS, with an optional certificate when activated.

The VPS disk is persistent, so the data folder is not lost on restart. What remains your responsibility is the coherent copy of that SQLite database: use the backup mechanism documented by PocketBase and test a restore, in addition to VPS backups.

In summary: PocketBase allows you to start quickly with an integrated backend based on SQLite. It is attractive when you want simplicity, but initial ease never replaces thinking about data, security, and recovery.

Sources: PocketBase Documentation · SQLite Documentation.

What is PocketBase and why does it use SQLite to create a small backend?

PocketBase versus a custom API and PostgreSQL

PocketBase combines SQLite, authentication, and an API into a compact package. This can simplify prototypes and small applications. If you need complex business rules, separate processes, or want to leverage a PostgreSQL database you already use, another architecture is to run a Django or FastAPI API and PostgreSQL on an ArduMaker VPS.

It is not a comparison of identical products: PocketBase already includes backend functionalities that do not appear magically just by installing PostgreSQL. The custom architecture involves writing and maintaining more code, in exchange for deciding how the pieces work.

Related: What is PostgreSQL · Supabase vs Firebase · SQLite vs PostgreSQL: when to migrate.

Frequently asked questions

Is PocketBase suitable for production? It can work for small applications and internal tools, but as of November 2026 it has not yet reached version 1.0 and its documentation does not guarantee backward compatibility. Pin the version, read the release notes before updating, and keep tested backups.

Does SQLite support multiple users at the same time? Yes for many simultaneous reads, but writes happen one at a time. With WAL mode, which PocketBase uses, reads are not blocked while someone is writing. If your workload involves many concurrent writes or you need multiple servers writing, it is better to use a database like PostgreSQL.

How do I back up PocketBase? Using its own backup mechanism, which generates a consistent copy of the data folder. Manually copying SQLite files while the database is writing can leave an unusable copy.

  • PocketBase
  • SQLite
  • backend

Keep reading

All articles · VPS plans