2

i am facing an issue from heroku that shows "Heroku marked free databases for deletion". my database is detached by heroku.

enter image description here

i want to recover my database. when i tried to raise a ticket through heroku support, it shows "Technical support for Free applications is provided by the online community". but there is no solution available for my issue. i don't know how to recover. anyone please help

enter image description here

This is my first question on stackoverflow. if i did not provided more details regarding my issue, i am extremely sorry

Prakash P
  • 21
  • 3
  • 1
    I'm voting to close this question because [we literally cannot help](https://meta.stackoverflow.com/q/255745/354577). One way or another, you need to contact Heroku support. (Note that Heroku no longer offers free services at all.) – ChrisGPT was on strike Dec 13 '22 at 11:36

2 Answers2

2

Your database has been deleted from Heroku because Heroku removed the free plans. So you need to create your database again (its no longer free).

  • Go to the "Resources" tag on your_app's dashboard
  • Select "Heroku Postgres" option in the Add-ons field.
  • After selecting the plan (min $5/month), Click "Submit Order Form" button. Then, a new database will be created and connected to your app.

Then, you can configure the database using heroku cli commands. E.g., $ heroku run rake db:migrate $ heroku run rake db:seed

That's all!

sloppypasta
  • 1,068
  • 9
  • 15
Philip
  • 21
  • 3
0

Contact heroku support and open a support ticket.

Apparently, according to this article, they can still recover detached databases for 10 days:

https://help.heroku.com/SPTSN5U6/can-i-recover-a-deprovisioned-production-non-hobby-mini-basic-heroku-postgres-database

Doug
  • 1,517
  • 3
  • 18
  • 40