Skip to content

Instantly share code, notes, and snippets.

@kogakure
Created July 5, 2012 09:39
Show Gist options
  • Save kogakure/3052652 to your computer and use it in GitHub Desktop.
Save kogakure/3052652 to your computer and use it in GitHub Desktop.
Shell: Dump a PostgreSQL database
/usr/local/pgsql/bin/pg_dump db_name -U db_user > dump_file_name.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment