Skip to content

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

docs: small updates to the migration guide (#32608)

Peter5c89b63b61aa
diff --git a/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx b/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx
index c7c24c8d30e..7063369eba6 100644
--- a/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx
+++ b/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx
@@ -4,23 +4,6 @@ subtitle: 'Learn how to backup and restore projects using the Supabase CLI'
breadcrumb: 'Migrations'
---
-## Before you begin
-
-<Accordion
- type="default"
- openBehaviour="multiple"
- chevronAlign="right"
- justified
- size="medium"
- className="text-foreground-light mt-8 mb-6"
->
- <div className="border-b mt-3 pb-3">
- <AccordionItem header="Install Postgres and psql" id="install-postgres">
- <PostgresInstallation />
- </AccordionItem>
- </div>
-</Accordion>
-
## Backup database using the CLI
<StepHikeCompact>
@@ -87,6 +70,23 @@ breadcrumb: 'Migrations'
</StepHikeCompact>
+## Before you begin
+
+<Accordion
+ type="default"
+ openBehaviour="multiple"
+ chevronAlign="right"
+ justified
+ size="medium"
+ className="text-foreground-light mt-8 mb-6"
+>
+ <div className="border-b mt-3 pb-3">
+ <AccordionItem header="Install Postgres and psql" id="install-postgres">
+ <PostgresInstallation />
+ </AccordionItem>
+ </div>
+</Accordion>
+
## Restore backup using CLI
<StepHikeCompact>
diff --git a/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx b/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx
index cf39b0324e8..55b029a6e57 100644
--- a/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx
+++ b/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx
@@ -49,6 +49,21 @@ breadcrumb: 'Migrations'
</div>
</Accordion>
+## Things to keep in mind
+
+Here are some things that are not stored directly in your database and will require you to re-create or setup on the new project:
+
+ - Edge Functions
+ - Auth Settings and API keys
+ - Realtime settings
+ - Database extensions and settings
+ - Read Replicas
+
+Here is a non-exhaustive list of items that are commonly asked about and will be migrated with your backup restoration:
+
+ - Database triggers
+ - Database functions
+
## Restore backup
<StepHikeCompact>
@@ -74,6 +89,9 @@ breadcrumb: 'Migrations'
</StepHikeCompact.Step>
<StepHikeCompact.Step step={2}>
<StepHikeCompact.Details title="Get the database password" fullWidth>
+ <Admonition type="caution">
+ It can take a few minutes for the database password reset to take effect. Especially if multiple password resets are done.
+ </Admonition>
Reset the password in the [Database Settings](https://supabase.com/dashboard/project/_/settings/database).
Replace ```[YOUR-PASSWORD]``` in the connection string with the database password.
@@ -148,4 +166,4 @@ You are possibly using psql and postgres version 15 or lower. Completely remove
"**psql: error: connection to server at "aws-0-us-east-1.pooler.supabase.com" (44.216.29.125), port 5432 failed: error received from server in SCRAM exchange: Wrong password**"
-If you reset your password for your project, it may take a few minutes for it to reflect. Try again after a few minutes if you did a password reset.
+If the database password was reset, it may take a few minutes for it to reflect. Try again after a few minutes if you did a password reset.