mirror of
https://github.com/jbranchaud/til
synced 2026-01-02 22:58:01 +00:00
Add a note at the bottom
This commit is contained in:
@@ -24,6 +24,10 @@ $ createdb my_new_database
|
||||
$ pg_restore -d my_new_database my_database.dump
|
||||
```
|
||||
|
||||
Note: the dumped tables will depend on some user role. You will need to
|
||||
ensure that this role exists on the database cluster where the restore is
|
||||
happening. You can use the `createuser` command if necessary.
|
||||
|
||||
See the
|
||||
[`pg_dump` docs](http://www.postgresql.org/docs/current/static/app-pgdump.html)
|
||||
and [`pg_restore`
|
||||
|
||||
Reference in New Issue
Block a user