Quick backup from the app
Go to Settings → Data management → Export and download the ZIP archive. This is a CSV export — it’s human-readable and can be imported back into plamotrack. For a complete database backup that preserves sessions, access tokens, and MCP client links, use thepg_dump method below.
Database backup with pg_dump
Run the following command from your plamotrack directory. The dump file is a portable Postgres archive.A backup is two things: the dump file and your
.env. Keep them together. The .env holds the secrets (your database password and, in OIDC mode, MCP_OAUTH_SIGNING_KEY) that make the backup fully restorable.Restoring a dump
Restore into an empty database —pg_restore will not merge cleanly into a populated one.
1
Tear down the current stack (removes the database volume)
2
Start the database and wait for it to be ready
3
Restore the dump
4
Start everything back up
What survives a restore
What comes back depends on which half of the backup you restore and which.env you pair it with.