Skip to content

Commit

Permalink
Use parity to pull dbs
Browse files Browse the repository at this point in the history
  • Loading branch information
r00k committed Jun 13, 2014
1 parent 1c2ac3a commit de4a012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zsh/aliases
Expand Up @@ -125,8 +125,8 @@ alias production-tail='heroku logs --tail --remote production'

# # Heroku databases

alias db-pull-staging='heroku pg:pull --remote staging --confirm `basename $PWD`-staging'
alias db-pull-production='rake db:drop && heroku pg:pull --remote production --confirm `basename $PWD`-production'
alias db-pull-staging='development restore staging'
alias db-pull-production='development restore production'

alias db-copy-production-to-staging='heroku pgbackups:restore DATABASE `heroku pgbackups:url --remote production` --remote staging --confirm `basename $PWD`-staging'
alias db-backup-production='heroku pgbackups:capture --remote production'
Expand Down

0 comments on commit de4a012

Please sign in to comment.