Configure scheduled maintenance
APPLIES TO: Azure Database for PostgreSQL - Flexible Server
You can specify scheduled maintenance options for each Azure Database for PostgreSQL flexible server in your Azure subscription. Options include the type of scheduled maintenance and notification settings for upcoming and finished maintenance events.
Specify scheduled maintenance options
Using the Azure portal:
Select your Azure Database for PostgreSQL flexible server.
In the resource menu, under the Settings section, select Maintenance.
If you select System-managed schedule, the system automatically assigns a random day of the week, and a 60-minute window which begins somewhere between 11pm and 7am (local server time).
If you want to have more granular control, select Custom schedule. You can then select a preferred day of the week, and a start time for the 60-minute window in which you want maintenance to occur.
Select Save.
A notification informs you that the service is updating the maintenance window settings.
Once the operation ends, a notification informs you that the service completed the update of the maintenance window settings.
Notifications about scheduled maintenance events
You can use Azure Service Health to view notifications about upcoming and performed scheduled maintenance on your Azure Database for PostgreSQL flexible server instance.
You can also set up alerts in Azure Service Health to get notifications about maintenance events.
Share your suggestions and bugs with the Azure Database for PostgreSQL product team.