I can't unschedule pg:backups schedules for deleted databases

Issue

I recently deleted the Postgres database, and just realized that I had a daily backup schedule. When I try to delete the schedule, I got the following error:

$ heroku pg:backups unschedule HEROKU_POSTGRESQL_ORANGE_URL
! Unknown database: HEROKU_POSTGRESQL_ORANGE_URL. Valid options are: DATABASE_URL, HEROKU_POSTGRESQL_CYAN_URL

How can I delete it?

Resolution

I'm sorry for the confusion. You're not able to delete the schedule after you deleted the database.
However, the next time we try to run this scheduled backup, we will delete such invalid schedules automatically, so no actions are required on your end.
Please let us know if you still see the schedule with deleted databases after a few days of deletion, we'll look into it.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2018 Salesforce.com