heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 381 forks source link

pg:backups restore fails with a 0 exit code #1901

Closed jooshbzm closed 8 years ago

jooshbzm commented 8 years ago

A few times over the past month, one of our scheduled pg:backups restore jobs has failed silently and left the database in a bad state. From what I can tell, this command exits with a 0 exit code even when the restore fails.

Here's my output:

Running... 1.32GB
Running... 1.32GB
An error occurred and your backup did not finish.

Please run `heroku pg:backups info r303` for details.
ransombriggs commented 8 years ago

@jooshbzm sorry this fell through the cracks, but a release has just been sent out so heroku update and verify that you have heroku-toolbelt/3.43.1 and this should no longer occur

jooshbzm commented 8 years ago

No problem @ransombriggs, I'll check this and confirm as soon as I get a chance. Thanks for fixing!