How to schedule maintenance for a Heroku Postgres database?


You are seeing the error:

There is no scheduled maintenance for this database

When trying to run maintenance on your Heroku Postgres Database


This means there is currently no maintenance necessary for your database so Heroku has not automatically scheduled one for you based on your maintenance window.

You can create new maintenances yourself using the schedule command of the Data Maintenances CLI.

Data Maintenance CLI Installation details here

You can also use the schedule command to reschedule an existing maintenance.

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