Skip to content

Commit 9742f95

Browse files
committed
Add a note at the bottom
1 parent b4fa9b4 commit 9742f95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

postgres/dump-and-restore-a-database.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ $ createdb my_new_database
2424
$ pg_restore -d my_new_database my_database.dump
2525
```
2626

27+
Note: the dumped tables will depend on some user role. You will need to
28+
ensure that this role exists on the database cluster where the restore is
29+
happening. You can use the `createuser` command if necessary.
30+
2731
See the
2832
[`pg_dump` docs](http://www.postgresql.org/docs/current/static/app-pgdump.html)
2933
and [`pg_restore`

0 commit comments

Comments
 (0)