Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Apply suggestions from code review

Rodrigo Mansueli Nunesedb814c13685
diff --git a/apps/docs/pages/guides/resources/migrating-to-supabase/render.mdx b/apps/docs/pages/guides/resources/migrating-to-supabase/render.mdx
index e5878a9edb6..c051693364e 100644
--- a/apps/docs/pages/guides/resources/migrating-to-supabase/render.mdx
+++ b/apps/docs/pages/guides/resources/migrating-to-supabase/render.mdx
@@ -8,7 +8,7 @@ export const meta = {
}
Supabase is a top\-notch, free alternative to Render Postgres. In this guide, we will walk you through how to transfer your Render Postgres database to Supabase.
-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.
+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.
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.
## Retrieve your Render database credentials [#retrieve-render-credentials]
@@ -20,7 +20,6 @@ If you prefer a quicker option, try the Supabase migration tool on [Google Colab
![Copying PSQL command from Render dashboard](/docs/img/guides/resources/migrating-to-supabase/render/render_dashboard.png)
Example:
-
```bash
%env PSQL_COMMAND=PGPASSWORD=RgaMDfTS_password_FTPa7 psql -h dpg-a_server_in.oregon-postgres.render.com -U my_db_pxl0_user my_db_pxl0
```
@@ -41,6 +40,7 @@ Example:
1. Run the third step to start the migration. This will take a few minutes.
## Export your Render database to a file in console [#export-render-database]
+
Use `pg_dump` with your Render credentials to export your Heroku database to a file (e.g., `render_dump.sql`).
```bash
@@ -58,6 +58,7 @@ psql -h $SUPA_URL -U postgres --file render_dump.sql -p 6543 -d postgres
```
## Additional options
+
- To only migrate a single database schema, add the `--schema=PATTERN` parameter to your `pg_dump` command.
- To exclude a schema: `--exclude-schema=PATTERN`.
- To only migrate a single table: `--table=PATTERN`.