How to back up a Supabase project built with Lovable
There are two different answers, and which one applies to you depends on a choice you may not remember making. Lovable apps run on one of two backends: Lovable Cloud — the built-in backend, which uses Supabase’s open-source foundation under the hood — or a Supabase project you connected yourself. The first gives you export paths but not the Supabase project. The second is a normal Supabase project, and everything about backing up Supabase applies to it directly.
First: which mode are you in?
Check the project itself, not your memory — on a team, whoever connected Supabase may not have been you. If your Lovable project’s settings show a connected Supabase project, you are in connected mode: a real Supabase project sits behind the app, with a dashboard its owner can open. If the backend was enabled inside Lovable and no Supabase project is connected, you are on Lovable Cloud — a database section inside Lovable, no Supabase dashboard anywhere. That difference decides everything below.
Connected Supabase: your project, your backups
Lovable’s own docs draw the line cleanly: with a connected project, infrastructure — backups included — is managed by you in Supabase. Lovable deploys code and edge functions; the database is yours. So the standard Supabase backup rules apply, starting with the one that surprises people: the Free plan has no automated backups, and plenty of Lovable projects sit on free-tier Supabase.
The fixes are the same as for any Supabase project, in ascending order of effort-once-set-up: a one-off pg_dump right now, a scheduled GitHub Actions workflow (fifteen minutes; free at side-project scale — the guide covers the egress math), or a hosted service that backs up to a bucket you own and restore-tests the result. One Lovable-specific note: apps built by prompting tend to lean hard on Storage for user uploads — database backups do not include those files, whoever takes them.
Lovable Cloud: export paths, honestly assessed
On Cloud, the Supabase project underneath is not yours. You work through Lovable’s Database section — table view, SQL editor, backups — rather than the Supabase dashboard, and external backup tools (ours included) have no project to connect to. What Cloud does give you has a defined contract: a daily backup of the database, retained for roughly 14 days, restorable in place — restores are permanent, so anything written after the chosen snapshot is lost. And the backups cover the database only; files in storage buckets are not in them.
For a copy you actually hold, Cloud offers a database export — full structure and data, capped at 5 GB, one export per 24 hours. Know its edges before trusting it: Storage files, edge function code, and secrets are not in it, and user passwords are not exported in a usable form, so any migration needs a password reset flow. Treat the export as your database backup — run it on a calendar rather than a feeling, and when it completes, download it and move the copy off Lovable: an export left sitting inside the project disappears with it. Storage files ride separately — the Storage view lets you select files and download them as a zip archive; tedious, but do it whenever you export, because nothing else covers them.
If the app has graduated — real users, real data — plan the move to a connected Supabase project sooner rather than later: there is no one-click migration from Cloud, so the export-and-rebuild only gets bigger as the data grows.
If you are choosing today
Cloud is genuinely the right default for prototypes; zero backend setup is the whole point of building this way. The moment the data would hurt to lose, connect your own Supabase project instead: you get the dashboard, the connection string, backups you control, and the ability to point any backup tool at it — plus you skip the export-and-rebuild migration entirely. Ownership is cheap on day one and expensive to retrofit.
FAQ
Can I run pg_dump against a Lovable Cloud database?
Lovable Cloud runs on Supabase's open-source foundation, but the Supabase project underneath is not yours — you work through Lovable's own database tools (table view, SQL editor), not the Supabase dashboard. Back up through the database export Lovable provides — database only, capped at 5 GB, one per day; Storage files, function code, and secrets are excluded — and export early: Lovable's docs are explicit that there is no one-click migration from Cloud to your own Supabase project.
Does Lovable back up my app's data?
On Lovable Cloud, yes, with a defined contract: a daily backup of the database, retained for roughly 14 days, restorable in place — restores are permanent, and anything written after the chosen snapshot is lost. Storage files are not covered. With a connected Supabase project, Lovable's docs state it plainly: infrastructure, including backups, is managed by you in Supabase. That means the normal Supabase rules apply — daily backups from the Pro plan, nothing automated on Free.
Should I use Lovable Cloud or connect my own Supabase project?
For prototypes, Cloud's zero-setup backend is the point. Once the data matters — customers, orders, anything you would mind losing — connecting your own Supabase project buys you the dashboard, the connection string, and backups you control, and it avoids a manual export-and-rebuild migration later, which only grows with your data.
Does BackupDrill work with a Lovable app?
With a connected Supabase project, yes — it is a normal Supabase project. You give BackupDrill the Session Pooler connection string plus a bucket you own on S3, R2, or B2 with scoped credentials; scheduled backups land in that bucket with restore drills on top, and once you add the project's Storage S3 keys, your uploaded files join the same snapshot. With Lovable Cloud, no: there is no Supabase project of yours to connect, which is true for any external backup tool, not just ours.
Sources
- Lovable docs — Lovable Cloud
- Lovable docs — Supabase integration
- Lovable docs — Database (Cloud backups)
- Lovable docs — Advanced settings (database export)
- Supabase docs — Database Backups
- Supabase — Pricing
Facts and prices last verified August 9, 2026 against the sources above. Written by the team behind BackupDrill.
Running a connected Supabase project behind your Lovable app? Open the console — the free plan covers weekly backups for one project; scheduled restore drills start on Solo — or keep it DIY with the open-source CLI.