This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Default values | |
OWNER="" | |
REPO="" | |
VERSION="latest" | |
COMPONENT="" | |
SOURCE_DIRECTORY='Atala PRISM' | |
# Function to display usage information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku pg:backups capture -a webpunch | |
curl -o latest.dump `heroku pg:backups public-url -a webpunch` | |
dropdb webpunch_development | |
createdb webpunch_development | |
pg_restore --verbose --clean --no-acl --no-owner -d webpunch_development latest.dump | |
------ |