Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 29 Nov 2026. What's built · Install 0.6.0
jadpo
ReferenceErrors

ErrorsPersonal data · rule

data.erasure_log_store

On this page

The erasure log is kept somewhere restoring a person's database would take it back with them, or somewhere it can't be kept.

Area 15, Personal data; not declinable; the next step is usually the human's.

Why Jadpo refuses it

The log is what erases someone again after a backup brings them back, so it has to outlast that backup. Kept in the database the person's records are in, a restore would bring back their records and lose every entry written since the backup, so nobody erased since would be erased again. A store that holds records erasure reaches has the same problem, and a connection that is neither a database nor a store of files can't keep it at all.

Jadpo won't choose for you, since a new database or a store of files is something you run and back up.

What it looks like

app.jadpo:

example
application {    privacy: {        erasure_log: {            store: main        }    }}
jadpo checkcheck failed: 1 error, 2 files

error main holds a person's records, so a restore would take the log back with them

--> app.jadpo:4:20

  |4 |             store: main  |                    ^^^^ `User` is kept here
reason
The log is what erases someone again after a backup brings them back. Restoring main would bring back their User records and lose every entry written since the backup, so nobody erased since would be erased again.
next
Add a database that holds no person's records and name it, or name a store of files (human)
rule
data.erasure_log_store
help
https://jadpo.dev/docs/errors/data.erasure_log_store

(human) at the end of the next: line tells your coding agent to stop and ask you which fix you want, because the choice is yours to make: it decides what you run and back up.

How to fix it

The question is what else you can run beside the database your people are in.

If you can run a second database, add one and name that. It needs no entities of its own:

example
application {    connections: {        main: {            driver: Driver.postgres        }        erasures: {            driver: Driver.postgres        }    }    privacy: {        erasure_log: {            store: erasures        }    }}

A restore of main now leaves the log as it was.

If the app runs on one server with a disk of its own, name a store of files:

example
application {    connections: {        main: {            driver: Driver.postgres        }        erasures: {            driver: Driver.disk            path: "/var/lib/app/erasures"        }    }    privacy: {        erasure_log: {            store: erasures        }    }}

Each person erased is now a file in that folder. A Worker has no disk, so it keeps the log in a database or in a Driver.s3 store of files.

Markdown for agents: /docs/errors/data.erasure_log_store.md.Built from Jadpo's main branch at commit 9080dc3.