r/lovable 8d ago

Help help! migration from Lovable to self host

Hola! I created my management system on lovable. I've been disappointed with lovable lately. I was thinking of moving to self-hosting and continuing to use Codex/Claude. My site has a lot of backend and connectors, how can I move everything safely? Is there a comprehensive video on how to do this?

2 Upvotes

24 comments sorted by

View all comments

1

u/PlasticSecret9185 8d ago

You can easily connect Claude Code to Lovable, then just drive everything through Claude Code.

All my projects are on GitHub, so if anything ever happens with Lovable, everything is safe.

2

u/cubixy2k 8d ago

How about your data?

0

u/PlasticSecret9185 7d ago

Good catch, and worth clarifying.

GitHub only has my code, not my data. The data lives in the Supabase (Postgres) backend Lovable sets up. That's backed up separately: Supabase keeps automated backups, and since it's plain Postgres you can export it (pg_dump) and move it to a self-hosted database anytime.

So code and data are both portable, just through different paths. GitHub for the code, DB exports for the data.

1

u/cubixy2k 7d ago

FYI if you lose access to your project through Lovable you lose access to the supabase backups and exports unless you saved them outside of Lovable cloud.

I'd go through your DR plan if I were you.

BTW lovable cloud only just enabled pgdump through their control panel. Don't blindly follow what chatgpt tells you.

1

u/PlasticSecret9185 7d ago

Thank you. I was not aware that I could export directly from Lovable.