Skip to content

Instantly share code, notes, and snippets.

@latentflip
Created September 28, 2010 08:04
Show Gist options
  • Save latentflip/600595 to your computer and use it in GitHub Desktop.
Save latentflip/600595 to your computer and use it in GitHub Desktop.
#!/bin/bash
createdb NEW_DB
pg_restore -d NEW_DB BACKUP_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment