Skip to content

Instantly share code, notes, and snippets.

@austinyearlykim
Last active November 1, 2017 22:34
Show Gist options
  • Save austinyearlykim/4c66836f1939ad10c7ca6c802e097ef1 to your computer and use it in GitHub Desktop.
Save austinyearlykim/4c66836f1939ad10c7ca6c802e097ef1 to your computer and use it in GitHub Desktop.
via Docker Container on Postgres:VERSION_NUMBER
pg_dump -d DB_NAME -U postgres -h HOST_NAME -t TABLE1 -t TABLE2 > dump.sql
@austinyearlykim
Copy link
Author

or -T exclude_TABLE1 -T exclude_TABLE2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment