Blog/26 November 2026
Moving in and moving out: why export came first
Choosing a backend is a decision people expect to regret. Not because the first choice is always wrong, but because changing it later is so painful that the choice feels permanent. That fear is reasonable, and a platform can either profit from it or remove it.
We would rather remove it. So Rezin Core has two matching tools: one that takes a whole project out, and one that brings a project in.
Moving out
An owner of a company can export a project at any time, on any plan. The result is one archive, a gzip-compressed tar, containing:
- the database as a plain PostgreSQL dump, with your tables, data, indexes, views, database functions, triggers and access rules;
- every table again as CSV;
- your application's accounts and organizations as JSON;
- your functions' code and settings;
- your stored files, with a list saying where each one was;
- your project's settings;
- a README that says what every file is.
Three properties matter more than the list.
It needs nothing of ours. The dump loads into any PostgreSQL 14 or newer with the stock psql. Your access rules call two small functions to ask who is making a request, so the archive includes a short SQL file that defines them on the new database:
psql "$YOUR_DATABASE" -f database/prelude.sql
psql "$YOUR_DATABASE" -f database/database.sql
People keep their passwords. Password hashes are exported as standard Argon2id strings, the format Argon2 libraries in most languages verify directly. Leaving does not mean emailing every user to ask them to choose a new one.
It is never blocked. Not by your plan, not by a limit you have reached.
Some things are left out on purpose: the values of your secrets, API keys, session tokens and authenticator seeds. An archive that leaves the server should not carry your payment keys, and the rest only mean something here.
Moving in
The other direction brings a project over from Supabase, from Firebase, from any PostgreSQL dump or from a CSV file.
An import handles everything someone owns, and it runs statements written by another system. Both facts shaped how it works:
- A dry run comes first. It reads what you supplied and writes nothing. You see the tables and rows, the accounts, the files, every access rule beside its translation, and everything that will be left out, with the reason.
- It always makes a new project. An import never goes into one that already exists.
- Statements are read one at a time. A dump is never handed to the database whole. Only the kinds of statement that make tables and fill them are let through; creating roles, changing settings, touching files and running programs are refused and listed.
- Every imported table starts closed. Row-level security is on, with no rule and nothing granted, until you read each translated rule and put it in force.
- The source is only read, in a read-only session over an encrypted connection, and the connection strings and keys you type are not stored.
Passwords carry over here too. Hashes from the other platform are kept and checked once, at each person's first sign-in, then replaced with an Argon2id hash.
What still takes work
It would be easy to call this seamless. It is not, and a move you were told would be effortless is worse than one you were prepared for.
- Server-side functions do not convert. You rewrite each one.
- Some access rules cannot be translated automatically. They are listed, and their tables stay closed until you write the rule.
- Coming from a document database means reviewing the tables an import proposes, because the shape of your data changes.
- Your application's calls change. The documentation maps the common ones.
And one honest caveat about the tool itself: the imports have been tested against sample exports shaped like the other platforms', not yet against live projects on them. The dry run exists so that you do not have to take our word for what will happen.
The guides are under Moving in and out, and No lock-in sets out exactly what an export contains.