How to migrate off Lovable Cloud to your own Supabase
There is no one-click move from Lovable Cloud to your own Supabase project. Lovable's export gives you the database, structure and data, plus user accounts and password hashes, but not storage files, Edge Function code, secrets, sign-in provider settings or API keys. You create a Supabase project you own, import the data, move files and functions, set new secrets, re-check access rules, then switch the app over. Removing Cloud afterwards is permanent.
- Export includes
- Database, users and password hashes
- Export leaves out
- Files, Edge Functions, secrets, sign-in settings, API keys
- Export limits
- Databases up to 15 GB; file up to 5 GB; once a day
- Remove Cloud
- Permanent; cannot be undone
Lovable Cloud or your own Supabase: which should you use?
Lovable Cloud is Lovable's built-in backend: database, authentication, storage, edge functions and AI, built on Supabase's open-source foundation and paid for from your Lovable credits. Connecting your own Supabase project means you hold the account, the keys and the bill. Neither is wrong. They suit different stages.
| Lovable Cloud | Your own Supabase project | |
|---|---|---|
| Who owns the project | Lovable owns and manages it; it does not appear on your Supabase dashboard | You do, in your Supabase organization |
| Service role and API keys | Not accessible to you | Yours, in the Supabase dashboard |
| Billing | Lovable credits, with a monthly Cloud grant on Free, Pro and Business | Supabase plans: Free, Pro from $25/month, Team from $599/month |
| Sizing and location | Instance sizes from Tiny upward; Americas, Europe or Asia Pacific | Compute add-ons, and a choice of data-centre location per project |
| Backups | Not described in Lovable's Cloud documentation | Backups kept 7 days on Pro and 14 on Team; point-in-time recovery as an add-on |
| Switching later | Cannot be disconnected or switched to an external Supabase once enabled | Can be connected to any tool that speaks Postgres |
Stay on Cloud while you are still finding out what the product is: it is the fastest way to have a backend at all. Move when you need something Cloud does not give you, such as direct database access for engineers, your own backups and point-in-time recovery, a specific region for compliance, a data processing agreement in your own name, or simply no vendor lock-in on the system of record.
What does Lovable's Cloud export include, and what does it leave behind?
Lovable's advanced settings let you export, pause or remove Cloud. Per Lovable's documentation, the export contains your full database, both structure and data, and your users' accounts with their password hashes. It does not contain files in storage, Edge Function code or your project's secrets, and sign-in provider settings and API keys have to be configured again at the destination. It works for databases using up to 15 GB of storage, the export file can be at most 5 GB, and you can request one export every 24 hours.
Two more controls matter during a move. Pausing Cloud stops the database, authentication, storage and edge functions, so anything that sends email, takes payments or calls AI stops too, while storage keeps being billed. Removing Cloud permanently deletes the instance and cannot be undone. Do not remove anything until the new setup has run in production for a while.
How do you migrate from Lovable Cloud to Supabase, step by step?
- 01
Create and secure the new project
Create a Supabase project in your own organization, in the region you need, on a plan with backups. Turn on multi-factor authentication for everyone with dashboard access.
- 02
Export and import the database
Export from Lovable's advanced settings and restore the export into the new Supabase project. Keep the schema as versioned migrations from here on, so it can be rebuilt from code.
- 03
Move what the export leaves out
Copy storage buckets and files, redeploy Edge Functions from your code, and create new secrets and API keys. Treat every old key as retired rather than copying it.
- 04
Connect Lovable to the new backend
Lovable's documentation describes connecting your own Supabase project to a fresh Lovable project. Do that, and agree how your team keeps prompting there before the switch.
- 05
Reconnect authentication
Set up your sign-in providers (Google, email) again in the new project and test with a real account. Lovable notes that users who are signed in when you switch need to sign in again.
- 06
Re-check access rules
Run Supabase's Security Advisor and the two-user test from our security checklist. Policies do not always survive a move unchanged.
- 07
Rehearse, then cut over
Rehearse the whole move on a copy, then switch production during a quiet hour with a written rollback plan. Keep Cloud paused, not removed, until you are sure.
Will my users have to reset their passwords?
No, if you restore Lovable's export into a Supabase project: Lovable's documentation says the export includes users' accounts and password hashes, so users keep their passwords. Test it before cutover by signing in to the new project with an existing account. What users will notice is having to sign in again if they were signed in when you switched, and any social sign-in you forgot to set up again.
What usually breaks during a Lovable Cloud migration?
- Files. Images and uploads stay behind unless you move storage yourself, and their URLs change.
- Background work. Emails, payment handlers and AI calls live in Edge Functions, which the export does not include.
- Webhooks. Stripe and other providers still point at the old endpoints until you change them, and their signing secrets change with the new functions.
- Access rules. A policy that referenced something Cloud-specific can fail closed (features break) or open (data leaks).
- Lovable itself. Lovable's documentation describes connecting the new Supabase project to a fresh Lovable project, so plan how your team keeps prompting after the move.
Should you migrate yourself or have engineers do it?
A small app with no payments, few files and a handful of users is a reasonable weekend project with the steps above. The risk grows with live payments, many users and files, because a mistake shows up as lost uploads, double charges or data visible to the wrong people. For those apps the move is an engineering job with a rehearsal and a rollback plan. On our plans it is part of the work, followed by running the new backend, with monitoring and emergency production support.
Frequently asked questions
Can I switch a Lovable Cloud project to my own Supabase?
Not in place. Supabase's documentation says a Lovable Cloud project cannot be disconnected or switched to an external Supabase connection once Cloud is enabled, and Lovable's says there is no one-click migration. You export the data, connect your own Supabase project to a fresh Lovable project and rebuild the schema there.
Does the Lovable Cloud export include storage files?
No. Lovable's documentation says the export includes the full database and your users' accounts with password hashes, but not files in storage, Edge Function code, secrets, sign-in provider settings or API keys. Those have to be moved or set up again separately.
Can I undo removing Lovable Cloud?
No. Lovable's documentation says removing Cloud permanently deletes the instance and cannot be undone. Pause it instead until the new backend has been running in production long enough for you to trust it.
Is my own Supabase cheaper than Lovable Cloud?
It depends on usage. Supabase's Pro plan starts at $25 a month per organization, with compute beyond the included credit billed on top, while Cloud is paid from Lovable credits with a monthly grant. Compare your actual usage on both before deciding on price alone; ownership and access are usually the stronger reasons to move.
How big a database can I export from Lovable Cloud?
Lovable's documentation says the export works for databases using up to 15 GB of storage, the export file can be at most 5 GB, and you can request one export every 24 hours.
From our work
Terms on this page
Related comparisons and guides
- Lovable app security checklist: is your app secure? — A checklist for RLS, keys, payments and monitoring, with a way to verify each item, and what CVE-2025-48757 means for you.
- Lovable app not working in production? How to make it production-ready — Why apps that work in preview break with real users, the checks that make one production-ready, and who keeps it running.
- How to hire a Lovable developer (and what it costs) — Freelancers, Lovable partner agencies and engineering subscriptions compared on cost, scope and who runs the app afterwards.
- Plans and pricing
Sources
Every outside fact on this page was checked against the linked source on 30 September 2026. Prices and plans change; follow the links for the current figures.