6 lines
198 B
Bash
6 lines
198 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
curl -o latest.dump `heroku pg:backups public-url -a commitchange`
|
||
|
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U admin -d commitchange_development latest.dump
|