The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: clarify cli upgrade process with logical backup (#21984)
Han Qiao455316b8cb09
diff --git a/apps/docs/content/guides/cli/getting-started.mdx b/apps/docs/content/guides/cli/getting-started.mdxindex 692ee795ef7..ab42d2f9db1 100644--- a/apps/docs/content/guides/cli/getting-started.mdx+++ b/apps/docs/content/guides/cli/getting-started.mdx@@ -123,9 +123,20 @@ npm update supabase --save-dev</TabPanel></Tabs>-If you have any Supabase containers running locally, remember to restart them after upgrading to use the new features.+If you have any Supabase containers running locally, stop them and delete their data volumes before proceeding with the upgrade. This ensures that Supabase managed services can apply new migrations on a clean state of the local database.-```bash+<Admonition type="tip" label="Logical backup">++Remember to save any local schema and data changes before stopping because the `--no-backup` flag will delete them.++```sh+supabase db diff my_schema+supabase db dump --local --data-only > supabase/seed.sql+```++</Admonition>++```shsupabase stop --no-backupsupabase start```