Lurker News
Last December, Heroku nuked the database on one of my active projects. I was travelling at the end of the year and did not catch wind of this until I returned and saw messages about an issue with the app. Sure enough, I checked and noticed that the database was gone and detached on December 9th.

Before the hate comes out, yes I know Heroku deprecated free tiers. However, I did not understand this would affect my projects on paid dynos. The real issue here is that I never received a single email or notice of any kind to my email about this. From researching, it appears most people received SEVERAL notices about this. I did not think there was an issue with my setup because I received zero communication.
Upon reaching out, Heroku has told me that they cannot recover the database. They also admitted that there was "an issue" sending out notifications to me, and confirmed that none were sent.
So I guess just a warning to all - your database might be nuked at any time. I learned my lesson about not doing an offsite backup regularly. I guess the bigger lesson though is that Heroku should really be a last resort option for projects these days. RIP.

Comments (206) 58 threads

Show all comments

Showing thread 43 of 58

m00x3 replies#
I don't really understand. You were paying for the dyno, but they deleted your instance anyway?
riebschlager#
They were likely paying for a web dyno, but were using a free database instance.
jack_riminton#
Free db but paid dyno in this case I think
danpalmer1 reply#
They deleted the database.

On Heroku, databases and dynos are completely distinct entities, each with their own payment plans.
When you set up a dyno and “add” a database, as most people do, it’s really easy to think that they are part of the same plan, and conclude that the “pro” or paid dyno is actually the combo of the dyno and database. They are not.
I understand why they did this, databases can be shared between applications, that’s handy, but this is a sharp edge.

favorited1 reply#
The least they could have done is disconnect the database without deleting the data, so users would at least have a chance to make the decision to either delete or start paying.
tetha#
This is something I've put into most workflows at $(WORKSPACE=/=heroku) that end up disabling a customers systems. It depends a bit on how hard we have to kill a system for various factors. But for the softest setting, we usually start pulling DNS or similar access configs for a minute, wait for a minute, disable for 2, wait for 2, ... and the 30 minutes never end.

This gets people on the phone with support quickly if they don't react to their account manager or mails. Like, we've had a possible security incident coming from a customer system and they didn't react - because they tried to hide their processes internally. Scream-Testing got us on calls with their InfoSec in a hurry.