Skip to content

Instantly share code, notes, and snippets.

@ramfjord
Created May 13, 2016 19:21
Show Gist options
  • Save ramfjord/97f081d87f88646aad178c0e878b7457 to your computer and use it in GitHub Desktop.
Save ramfjord/97f081d87f88646aad178c0e878b7457 to your computer and use it in GitHub Desktop.
pg_dump -a -N schema_1 -N schema_2 \
--dbname=<redacted> | \
pg_restore -Fc -j 8 --verbose \
--dbname=<redacted>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment