Backups and upgrades
What to keep, and how to move to a new version.
What to back up
| What | Where | Holds |
|---|---|---|
| Postgres | pgdata volume |
Users, models, reports, runs, images, schedules, the audit log |
| Uploads | uploads volume |
Uploaded DuckDB and Parquet files |
| Data folder | ./data |
Your files. Back them up as you do now |
.env |
Next to the compose file | Settings and the secret key |
docker compose exec -T postgres pg_dump -U quackui quackui | gzip > quackui-$(date +%F).sql.gz
Keep QUACKUI_SECRET_KEY somewhere other than the database backup. Anyone with both can read your destination passwords.
Restore
docker compose up -d postgres
gunzip -c quackui-2026-11-01.sql.gz | docker compose exec -T postgres psql -U quackui quackui
docker compose up -d
Restore into an empty database.
Upgrade
-
Back up Postgres.
-
Get the new version and start it.
git pull docker compose up -d --build -
Wait for the API to be healthy. Database migrations run at startup.
-
Reload open browser tabs.
Release notes are on GitHub. For a fixed version, check out its tag.
Going back
Migrations aren’t reversed. To go back, restore the backup you took and check out the old tag.
If you use row or column security, first make sure the old version has it. One that doesn’t would show every row or column. One without user attributes refuses queries from people whose rules use them.
Old browser tabs
A tab from before an upgrade can’t save over features it doesn’t know about, such as tabs or calculations. The save is refused with unsupported_write_features. Reload the tab.