This page explains how to run klav-server on Postgres instead of SQLite. SQLite is enough for one person or a family; Klav’s own tests run against Postgres 17 too.
Point the server to the database:
KLAV_DATABASE_URL=postgres://klav:<password>@127.0.0.1:5432/klavMigrations run by themselves when the server starts. Attachments stay on disk, in KLAV_DATA_DIR.