The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Use tabs for migration options
dannykng704892ce0e9e
diff --git a/apps/docs/pages/guides/resources/migrating-to-supabase/render.mdx b/apps/docs/pages/guides/resources/migrating-to-supabase/render.mdxindex b9748c73ee9..1e477b0e586 100644--- a/apps/docs/pages/guides/resources/migrating-to-supabase/render.mdx+++ b/apps/docs/pages/guides/resources/migrating-to-supabase/render.mdx@@ -1,22 +1,15 @@import Layout from '~/layouts/DefaultGuideLayout'export const meta = {- id: 'Render',title: 'Migrate from Render to Supabase',description: 'Migrate your Render Postgres database to Supabase.',- sidebar_label: 'Render',}-Render is a popular Web Hosting service in the online services category that also has a managed Postgres service. Render has a great developer experience, allowing users to deploy straight from GitHub or GitLab. This is the core of their product and they do it really well. However, when it comes to Postgres databases, it may not be the best option.-Supabase is a top-notch, free alternative to Render Postgres. We provide all the backend features developers need to build a product: a Postgres database, authentication, instant APIs, edge functions, realtime subscriptions, and storage. Postgres is the core of Supabase, for example, you can use row-level security and we have more than 40 Postgres extensions available.--In this guide, we'll show you how to migrate from Render to Supabase to get the most out of Postgres while gaining access to all the features you need to build a project.--You will need to use the [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html) and [psql](https://www.postgresql.org/docs/current/app-psql.html) command line tools, which come included in a full PostgreSQL installation.+Supabase is one of the best free alternative to Render Postgres. Supabase provide all the backend features developers need to build a product: a Postgres database, authentication, instant APIs, edge functions, realtime subscriptions, and storage. Postgres is the core of Supabase—for example, you can use row-level security and there are more than 40 Postgres extensions available.-If you prefer a quicker option, try the Supabase migration tool on [Google Colab](https://colab.research.google.com/github/mansueli/Supa-Migrate/blob/main/Migrate_Postgres_Supabase.ipynb) for a simple, few-click migration.+This guide demonstrates how to migrate from Render to Supabase to get the most out of Postgres while gaining access to all the features you need to build a project.## Retrieve your Render database credentials [#retrieve-render-credentials]@@ -41,15 +34,24 @@ Example:-## Quick Method:+## Migrate the database-### Run the migration in Colab [#run-migration]+The fastest way to migrate your database is with the Supabase migration tool on [Google Colab](https://colab.research.google.com/github/mansueli/Supa-Migrate/blob/main/Migrate_Postgres_Supabase.ipynb). Alternatively, you can use the [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html) and [psql](https://www.postgresql.org/docs/current/app-psql.html) command line tools, which are included in a full PostgreSQL installation.++<Tabs+ scrollable+ size="small"+ type="underlined"+ defaultActiveId="colab"+>+<TabPanel id="colab" label="Migrate using Colab">1. Set the environment variables (`PSQL_COMMAND`, `SUPABASE_HOST`, `SUPABASE_PASSWORD`) in the Colab notebook.1. Run the first two steps in [the notebook](https://colab.research.google.com/github/mansueli/Supa-Migrate/blob/main/Migrate_Postgres_Supabase.ipynb) in order. The first sets the variables and the second installs PSQL and the migration script.1. Run the third step to start the migration. This will take a few minutes.-## Manual Method:+</TabPanel>+<TabPanel id="cli" label="Migrate using CLI tools">### Export your Render database to a file in console [#export-render-database]@@ -78,6 +80,9 @@ psql -h $SUPA_URL -U postgres --file render_dump.sql -p 6543 -d postgresRun `pg_dump --help` for a full list of options.+</TabPanel>+</Tabs>+export const Page = ({ children }) => <Layout meta={meta} children={children} />export default Page