Skip to content

Instantly share code, notes, and snippets.

@vagnerzampieri
Last active December 20, 2015 11:49
Show Gist options
  • Select an option

  • Save vagnerzampieri/6126674 to your computer and use it in GitHub Desktop.

Select an option

Save vagnerzampieri/6126674 to your computer and use it in GitHub Desktop.
restore dump
pg_restore -c --username=postgres -W -d old_database ~/new_database.dump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment