I recently deleted a Heroku Postgres database, and just realized that I had a daily backup schedule. When I try to delete the schedule, I get 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?
Unfortunately, it's not possible to delete a scheduled backup 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.