Skip to content

Instantly share code, notes, and snippets.

@peymano
Created March 16, 2012 00:47
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save peymano/2047968 to your computer and use it in GitHub Desktop.
Save peymano/2047968 to your computer and use it in GitHub Desktop.
Restore from a binary Postgres dump file
pg_restore --clean --no-acl --no-owner -d <database> -U <user> <filename.dump>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment