We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4fa9b4 commit 9742f95Copy full SHA for 9742f95
postgres/dump-and-restore-a-database.md
@@ -24,6 +24,10 @@ $ createdb my_new_database
24
$ pg_restore -d my_new_database my_database.dump
25
```
26
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
+
31
See the
32
[`pg_dump` docs](http://www.postgresql.org/docs/current/static/app-pgdump.html)
33
and [`pg_restore`
0 commit comments