supa-migra

Migrate Supabase between cloud and self-hosted instances. Test the connection, export the Source to a dump file, import it into the Target. The Source is never written to.

Source

Read-only — exports never modify it

read-only

Target

Receives imported data

Export

Roles + database → one .zip downloaded to this machine.

// test the Source connection first

Import

Restores into the Target. Existing objects are kept; only missing objects and data are created.

// test the Target connection first