Moving in and out
Export your project
Everything in a project, in ordinary formats, in one archive. You can ask for it any time, on any plan, and you do not need Rezin Core to read what you get.
In the console: open the project, then Project, Export. Only an owner of the company can export, because an export holds everything, account password hashes included.
What is in the archive
The archive is a gzip-compressed tar (.tar.gz), which every system opens.
| Path | What it is |
|---|---|
README.md | Says what every file is, for whoever opens the archive later. |
database/prelude.sql | A few lines to run first on another PostgreSQL. Explained below. |
database/database.sql | Your tables, data, indexes, views, database functions, triggers and access rules, as a plain PostgreSQL dump. |
data/<table>.csv | Every table again as CSV with a header row. |
access-rules/<table>.sql | Each table's row-level security rules as the statements that create them. They are also in database.sql. |
users/users.json | Your application's accounts: IDs, emails, names, organization, connected providers and password hashes. |
users/organizations.json | The organizations those accounts belong to. |
functions/<name>.js, functions/functions.json | Your functions' current code and settings. |
files/objects/, files/manifest.json, files/buckets.json | Your stored files, a list saying which bucket and path each had, and each bucket's settings. |
settings/project.json | Sign-in settings, webhooks, tables with live updates on, email sender, allowed network addresses, and the names of your secrets. |
What is deliberately left out:
- The values of your secrets. Their names are listed; read the values in the console.
- API keys, session tokens and authenticator seeds. Where you are going, issue new keys; people sign in again and set their authenticator up again.
- Webhook signing secrets.
Load the database somewhere else
On any PostgreSQL 14 or newer, with the stock psql:
tar -xzf rezin-core-export-2026-11-26.tar.gz
psql "$YOUR_DATABASE" -f database/prelude.sql
psql "$YOUR_DATABASE" -f database/database.sql
Your tables are in a schema named after the project's database schema (it is in settings/project.json, for example p_qrzsmbxhgcmamilzpeea). Rename it if you like:
alter schema "p_qrzsmbxhgcmamilzpeea" rename to app;
What the prelude is for
On Rezin Core your tables and access rules can ask three questions: which organization is calling (core.app_org()), which account (core.app_user()) and which application (core.current_app()). database.sql still asks them, so prelude.sql gives the new database the same three functions. They read two settings your application sets for each request, exactly as Rezin Core did:
select set_config('app.org_id', '8a6c1f6e-2f0d-4d0e-9f43-1c6f0e1b7a11', true);
select set_config('app.user_id', '2b0f7f0c-5d36-4a6f-8f5a-0d7b6c3e9a22', true);
It also makes the role your access rules are written for, and harmless stand-ins for the two triggers Rezin Core uses for live updates and webhooks.
Passwords
Password hashes are standard Argon2id strings (they begin $argon2id$), in the PHC format that Argon2 libraries in most languages verify directly. People keep their passwords when you move.
An account that came from another platform and has not signed in since still has that platform's hash, under legacy, in that platform's own format.
Encrypt it with a passphrase
Give a passphrase of 12 characters or more when you ask for the export and the archive is encrypted (.tar.gz.enc). Rezin Core does not keep the passphrase: if you lose it, nobody can open the archive, us included.
It is encrypted the way the standard openssl tool does it (AES-256-CBC, key derived with PBKDF2-SHA256, 600,000 rounds), so it opens without Rezin Core:
openssl enc -d -aes-256-cbc -pbkdf2 -iter 600000 -md sha256 \
-in rezin-core-export-2026-11-26.tar.gz.enc -out export.tar.gz
tar -xzf export.tar.gz
The console shows each export's SHA-256 so you can check the file you downloaded.
How long it takes and how long it is kept
An export is built in the background; the page shows its progress. It is kept for 7 days and can be downloaded as often as you like in that time. A project can be exported 5 times a day, one at a time.
Every request and every download is written on the project's record.
From the command line
rezin export # asks for an export, waits, saves the file
rezin export --encrypt # the same, encrypted; the passphrase is asked for and never stored
rezin export -o backup.tar.gz
rezin export list
This needs a read-write token that was given both Database and Files, held by an owner. See The command-line tool.
Put an export back
An export can be brought back into Rezin Core as a new project: Move a project in, choosing "A Rezin Core export". It never goes over a live project.
Two things to know:
- An email address can belong to one account on Rezin Core. While the original project still exists, its accounts are still here, so the restored project's accounts are skipped and listed. Restore after the original has been deleted and erased to bring the accounts back.
- Functions come back switched off with no secrets assigned. Assign their secrets, then switch each on.