thoughtbot / parity

Shell commands for development, staging, and production parity for Heroku apps
https://thoughtbot.com
MIT License
895 stars 57 forks source link

Version 2.0 #113

Closed geoffharcourt closed 7 years ago

geoffharcourt commented 7 years ago
geoffharcourt commented 7 years ago

This is not working in local testing against a real app, but I'm unsure if this is a temporary Heroku outage or not.

eebs commented 7 years ago

Thanks for the quick work to fix the Heroku CLI issues. I checked out this branch, built and packaged, and was able to run both a staging backup and development restore staging:

$ /Users/eebs/code/thoughtbot/parity/parity-2.0.0-osx/lib/app/bin/staging backup
Starting backup of postgresql-adjacent-55724... done

Use Ctrl-C at any time to stop monitoring progress; the backup will continue running.
Use heroku pg:backups:info to check progress.
Stop a running backup with heroku pg:backups:cancel.

Backing up DATABASE to b007... done
$ /Users/eebs/code/thoughtbot/parity/parity-2.0.0-osx/lib/app/bin/development restore staging
# restored correctly.

Hope this helps!

geoffharcourt commented 7 years ago

@eebs thanks for the help! I will recheck when I have some time later today, and if things work as expected I'll cut a new version on Rubygems and update Homebrew.

geoffharcourt commented 7 years ago

I'm still getting 503 errors from Heroku on the backup operation for two apps for which I have access.