OpenClaw has detailed its PostgreSQL beta, which lets operators put selected Gateway stores on a database server managed separately from the machine running the agent. The project's 3 December engineering post identifies v2026.11.5 as the first version with the option and explains the operating model. SQLite remains the default. For a team running OpenClaw on replaceable infrastructure, the change is an opportunity to give some of the Gateway's data a lifecycle of its own.

The Gateway holds the information an assistant needs between sessions, including records of work it has already done. For a single computer, it makes sense for the application to keep that state on its own disk. A release can replace the application while leaving the data intact. In a deployment that regularly replaces containers, the choice of where to put durable state needs to be explicit.

The storage can outlive the container

PostgreSQL can put portions of agent state on a separate server that the organisation already backs up and monitors. Project maintainers point to deployments with existing database teams and managed PostgreSQL infrastructure as natural candidates. A team can apply familiar procedures for capacity and backups to the remote store and take a Gateway container out of service without treating its replaceable filesystem as the sole copy of state.

The software can select its storage engine by family. OpenClaw describes five families covering state, agents, workboards, logbooks and team reports. A team could decide that shared state should live on the database server while some individual agent stores stay on SQLite. That makes a pilot easier to reason about because the operators can choose a specific set of records to move and confirm how the rest of the installation behaves.

This also introduces a network dependency. OpenClaw's engineers say SQLite typically performs better for local operations because the application reads and writes on the same machine. When PostgreSQL is remote, each database round trip takes time. Placement in the same cloud region can reduce that delay. A useful comparison includes common operations such as opening a session, search and processing a run with several steps, since those operations may touch storage at different rates.

Moving the database leaves dependencies on disk

The project says each store retains a small local anchor that identifies its namespace and its relationship with the data held on PostgreSQL. Other material, including some cached data, safety journals and cold transcript files, remains local. Operators of a container deployment still have to preserve an appropriate local state directory. A database connection on its own is insufficient when recovering a full installation.

That is easy to miss if a backup plan has been written around the word database rather than around the application. On a recovery day, operators need the remote records and the matching local material. OpenClaw describes a verified backup that gathers the relevant database contents and local state. Its recovery process can restore into a fresh namespace. A rehearsal against a separate recovery instance can show whether the archive contains what operators expect and whether the time needed fits their service commitments.

The project also says a store has one live Gateway owner. The beta provides neither active-active ownership nor automatic failover. Database services can have their own replication and recovery arrangements, but those arrangements do not turn two Gateways aimed at the same store into a supported high-availability deployment. Independently operated Gateways can share a PostgreSQL server when their stores are separated as described in the project's documentation.

What existing operators should test

Moving an existing store involves a different risk from starting a new instance. OpenClaw describes a migration with a prerequisite check, a dry run, a snapshot and verification before the configuration switches to PostgreSQL. The project says the migration command does not run natively on Windows yet. It also describes the macOS app as experimental with PostgreSQL and says iOS and iPad are unsupported. Those constraints can determine which deployment is appropriate for a trial.

The team also notes that memory search can return results in a different order after a move, because PostgreSQL and SQLite use different search mechanisms. A pilot can compare real queries as well as record totals. If an assistant routinely retrieves specific historical notes, checking whether it still finds those notes is as important as checking whether the database opened successfully.

The most revealing test may be to remove access to the database in an isolated environment and observe how the service reports the interruption. OpenClaw says a store refuses to open if the server is unavailable or its schema cannot be verified. A team can confirm that its alerts and recovery procedures expose that condition promptly and that ambiguous work is checked before anything is retried.

For a personal OpenClaw installation, SQLite still offers a straightforward way to keep storage on one machine. The PostgreSQL beta gives operators of more complex deployments a choice about where state is managed. The gain is strongest when the organisation already has database operations in place and can account for both halves of the backup.