Bike database interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

7 lines
274 B

#!/usr/bin/env bash
heroku pg:backups capture --app recyclery-database
sleep 3
curl -o tmp/latest.dump `heroku pg:backups public-url --app recyclery-database`
pg_restore --verbose --clean --no-acl --no-owner -h localhost -U louisk -d db/bikedb_development tmp/latest.dump