Skip to main content
Hostwares

How to Move an Existing Supabase Project to Your Own Server

sowad sheikh··1 min read

There are situations where developers want more control over their backend infrastructure. One option is self-hosting the open-source Supabase stack. The migration needs planning because Supabase is more than a PostgreSQL database.

Understand What You're Moving

A complete Supabase environment can include: PostgreSQL Auth Storage Realtime Studio API services Moving only the database doesn't automatically recreate the entire backend environment.

Export Your Database

Start with a proper database backup or dump. Make sure you understand the schema, extensions, data, and migrations involved.

Deploy the Supabase Stack

Create the target self-hosted Supabase environment. Hostwares provides a self-hosted Supabase deployment that includes the main Supabase components on dedicated resources.

Restore the Data

Restore your database data and verify that tables, relationships, indexes, and required extensions are present.

Update Your Application

Your application's Supabase URL and keys need to point to the new environment.

Test Before Switching Users

Test authentication, database queries, storage, and Realtime functionality. Only after the complete application works should you change production traffic.

Ready to deploy?

Launch your app on Hostwares — start for $1.00/mo with auto-scaling & global CDN.

Start for $1.00/mo

Ready to deploy? Start for $1.00/mo

Deploy now