Skip to content

Instantly share code, notes, and snippets.

@jaredjburgess
Created February 21, 2016 14:36
Show Gist options
  • Save jaredjburgess/3857b2fab55098edc7f5 to your computer and use it in GitHub Desktop.
Save jaredjburgess/3857b2fab55098edc7f5 to your computer and use it in GitHub Desktop.
PostgreSQL pg_dump syntax for a single table
pg_dump -Fc -v -U user_name -d db_name -t table_name > /path/to/file.bak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment