...
Code Block | ||||
---|---|---|---|---|
| ||||
pg_dump -U postgresradar -h 10.38.181.78 -Fc -d radar > /path/to/file/radar.dump |
...
Code Block | ||||
---|---|---|---|---|
| ||||
pg_restore -U postgresradar -h 10.38.181.94 -d radar /path/to/file/radar.dump |
It's worth noting that most of the flags can still be applied to this command but on the whole are not necessary. pg_restore will automatically detect most of the settings from the dump file.
...