Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

docs: add --no-owner flag to postgres backup command

Brad Barbinf8ea2957e818
diff --git a/README.md b/README.md
index 3c75d87aee..437814ecde 100644
--- a/README.md
+++ b/README.md
@@ -356,7 +356,7 @@ To restore a production database snapshot locally:
4. Pipe the backup into the local DB as the superuser (`supabase_admin` for plain-text dumps, or use `pg_restore` for `.dump` archives):
```bash
$ source .env.local
- $ PGPASSWORD=postgres psql -h localhost -p "$PORT_DB" -U supabase_admin -d postgres < /path/to/backup.sql
+ $ PGPASSWORD=postgres psql -h localhost -p "$PORT_DB" -U supabase_admin -d postgres --no-owner < /path/to/backup.sql
# …or for .dump archives:
$ PGPASSWORD=postgres pg_restore -h localhost -p "$PORT_DB" -U supabase_admin -d postgres --no-owner /path/to/backup.dump
```