PocketBase on PostgreSQL, scaled out¶
burrowDB is PocketBase with PostgreSQL underneath. You keep the REST API, the
dashboard, the JavaScript and Dart SDKs, API rules, auth and JS hooks. You gain as many API replicas as
you need, crons that run once per cluster, realtime across replicas, backups with pg_dump, and one
command to bring it all up on your laptop, on Kubernetes, or on AWS, GCP and Azure.
It comes with burrow, a JSON-first CLI, and an MCP server so coding agents can work with your data.
burrowDB is open source (MIT) and made by TestZeus.
-
Try it locally
A two-replica cluster with PostgreSQL, pgbouncer and MinIO on Docker, in one command.
-
Deploy it
The Helm chart on any Kubernetes cluster, or Terraform for EKS, GKE and AKS with managed PostgreSQL.
-
Move from PocketBase
Copy a SQLite PocketBase into burrowDB, verify it record by record, and a way back if you need it.
Your app does not change¶
import PocketBase from "pocketbase";
const pb = new PocketBase("http://127.0.0.1:8090"); // a burrowDB URL instead of a PocketBase one
await pb.collection("users").authWithPassword("ada@example.com", "a-long-password");
const posts = await pb.collection("posts").getList(1, 20, { filter: 'published = true' });
pb.collection("posts").subscribe("*", (e) => console.log(e.action, e.record.id));
Everything about collections, API rules, auth, the SDKs and hooks is in the PocketBase documentation, and it applies to burrowDB. These docs cover what burrowDB adds and the few places where it behaves differently: burrowDB and PocketBase lists them. Using the PocketBase docs maps every PocketBase docs page to what differs.
What you get¶
| Feature | What it means |
|---|---|
| Many replicas | Stateless API replicas behind any load balancer; cron workers that claim each tick once per cluster |
| Realtime across replicas | Subscriptions and events cross replicas over PostgreSQL LISTEN/NOTIFY |
| Outages handled | A lost database connection answers 503 and reads retry, instead of failing half-way |
| Backups | The Backups API and dashboard page, with pg_dump inside, and a restore that swaps databases for the whole cluster |
| One command | burrow up local, kind, k8s, aws, gcp or azure |
| For agents | burrow mcp for Claude Code, Codex and Cursor, plus skills that teach an agent to use burrowDB |