Two ways to move
| Where is your app now? | How to bring it |
|---|---|
| Published on Netlify | hosting migrate netlify <site> --plan, then --yes |
| In GitHub | Connect the repository in Guard, or hosting up in the folder |
| Only in Bolt | Download the project or push it to GitHub, then hosting up |
What comes along from Netlify
The command reads your Netlify site and brings this along:
- The build settings and your variables, per context.
- Your domains with their DNS.
- Redirects and headers from netlify.toml, _redirects and _headers, plus the SPA fallback.
- Netlify Functions, as Functions in Hosting, with their schedules.
- Netlify DB or another Postgres database.
What does not come along
Netlify Forms and Identity have no automatic counterpart with us. The plan names them up front, so you decide before anything moves. Nothing changes at Netlify: you switch the old site off only once the new one works.
A Supabase backend too?
Many Bolt apps use Supabase for the database and sign-in. It moves with its own command, again with a plan first. Your users keep their ids; passwords do not move, so from then on they sign in with a code by email.
infaris-guard hosting migrate supabase <projectref> --secrets-file .env.migrate --planWhat Netlify does better
Netlify has a worldwide network, and Forms and Identity are built right in. If your app is a static site for visitors all over the world, without personal data, Netlify is a fine place. Hosting becomes interesting when your app holds customer data and you want it to stay in the EU.
Questions
- Do I have to give up Bolt?
- No. You can keep building in Bolt and send new versions to Hosting through GitHub.
- Does my site go offline during the move?
- No. The old site keeps running until you switch the domain yourself. With --verify you check first that the new one works.
- What does it cost?
- You set a hard monthly limit and get notified at 50, 80 and 100 percent. What your app will cost, we work out together in a call.