5 lines
198 B
Bash
Executable file
5 lines
198 B
Bash
Executable file
#!/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
|