Skip to content

Instantly share code, notes, and snippets.

@peymano
Created March 16, 2012 00:47
Show Gist options
  • 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