How to export your data from Lovable Cloud

Your rows are yours and getting them out takes about four clicks. What takes longer is knowing what the export leaves behind — storage files, function code, secrets, and every password your users have. Here's the whole picture.

The four clicks.

The export is a schema-plus-data dump of your database. It's generated in the background, so nothing appears instantly.

  • 01Open the project and go to the Cloud tab in the toolbar.
  • 02Overview → Advanced settings → the 'Export project data' section → Export data.
  • 03On the Database card, click Export, then confirm with Start export.
  • 04Wait for the email. When it lands, download the dump from the Cloud tab under Storage.

Two different things people call 'export'

The first is a backup. You want a copy of your database sitting on your own disk, because a product with real customers in it shouldn't exist only inside one platform. That's a five-minute job and you should do it on a schedule.

The second is leaving. You want your app running against your own Supabase project, with your own dashboard, your own keys and your own backups. The export is step one of that, but it's maybe a third of the work.

Both start in the same place, so run the export either way. What differs is everything you do afterwards.

The limits nobody reads until they hit them

A database export is capped at 5 GB, and you can request one every 24 hours. Neither number matters on a young project and both matter enormously on cutover day, when you assumed you could re-run the dump twice in an afternoon.

So take a practice export a week before you actually need one. You'll find out how big your data really is, how long the email takes, and whether the dump restores cleanly — while you still have room to fix things.

What the export does not include

Storage bucket files. The dump is schema and data only; anything your users uploaded is downloaded separately from the Cloud tab under Storage. On a media-heavy app this is the bulk of what you actually care about.

Edge function code. That lives in your project's repository, not in the database, so it comes across with your codebase rather than the dump.

Project secrets. API keys, signing secrets, webhook secrets — none of them are exported, by design. Write down which secrets exist before you migrate, because rediscovering them from broken runtime errors afterwards is miserable.

Row-level security policies come across with the schema, but verify them on the other side rather than assuming. A policy that silently didn't apply is the most expensive kind of migration bug.

The passwords gotcha

This is the one that catches everybody. Your auth users export, but their passwords don't come across in a usable form. Which means the morning after you migrate, every single existing user cannot log in.

The fix is a password reset flow, built and tested before you cut over, plus an email to your users telling them what's happening so a reset link doesn't read like a phishing attempt. If you use magic links or social login, you're mostly spared — those users just sign in again.

Plan the migration for a quiet window and be ready to answer support the same day. It's a one-time cost, but it's a real one.

Restoring into your own Supabase

Order matters. Create the project, load the schema, then the data, then re-create anything the dump didn't carry: RLS policies verified one table at a time, storage buckets and their files re-uploaded, edge functions deployed, secrets re-entered.

Then flip the environment variables in your app. In a Lovable project the code keeps pointing at Supabase either way — only the URL and the keys change, which is why the app itself usually needs no rewriting.

Then smoke-test everything with real intent: sign up, log in, reset a password, upload a file, run a payment, trigger a webhook. Not the happy path you remember, the whole surface. Keep the old Cloud instance alive until you've done it.

Removing Cloud is permanent

When you remove Lovable Cloud from a project, the instance is deleted and it cannot be undone. There's no grace period and no recovery.

So the sequence is: export, restore, verify against the new backend for a few days with real traffic, and only then remove. The overlap costs you almost nothing and buys you the ability to change your mind.

Lovable Cloud exports, answered.

How do I export my database from Lovable Cloud?
Open your project, go to the Cloud tab, then Overview, then Advanced settings. Under 'Export project data' click Export data, then Export on the Database card, then Start export. Lovable emails you when the dump is ready and you download it from the Cloud tab under Storage.
How big can the export be, and how often can I run one?
The database export is capped at 5 GB and you can request one every 24 hours. If you're near the cap, plan the migration around that window rather than discovering it on cutover day.
Does the export include my storage files?
No. The dump is schema and data only. Files in your storage buckets have to be downloaded separately from the Cloud tab under Storage, and edge function code and project secrets aren't included either.
Will my users' passwords come across?
Not in a usable form. Auth users export, but their password hashes don't come with them, so every migrated user needs to go through a password reset on first login. Build that flow before cutover, not after.
Can I remove Lovable Cloud after exporting?
You can, but it's permanent — the Cloud instance is deleted and there is no undo. Export, restore into your own Supabase, verify every flow against the new backend, and only then remove.
Can you do the whole migration for us?
Yes. That's the Lovable Cloud migration service — schema, data, auth users, storage, edge functions, RLS policies and the password reset flow, usually inside a day, from $900.

Or let us move it.

Schema, data, auth users, storage, edge functions, RLS and the password reset flow — into your own Supabase, usually inside a day. From $900.