Migrate data between apps using pgbackups
Closed this issue · 1 comments
alexslade commented
Currently it's a multi-step process
heroku pgbackups:capture --expire --app production
heroku pgbackups:restore DATABASE `heroku pgbackups:url --app production` --app staging
Is this possible?
(Sorry for the questions, if you think any of this should be implemented soon, I'm happy to submit a patch if you point me in the right direction)
kmayer commented
Thanks for the suggestion. I wrote something very similar to this as a rake task, myself. There's a lot of configuration specific knowledge to get it right. It's a little too multi-step for heroku_san.