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?
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.