Restart Azure Database for PostgreSQL - Flexible Server

APPLIES TO: Azure Database for PostgreSQL - Flexible Server

This article provides step-by-step procedure to perform restart of the flexible server. This operation is useful to apply any static parameter changes that requires database server restart. The procedure is same for servers configured with zone redundant high availability.


When configured with high availability, both the primary and the standby servers are restarted at the same time.


To complete this how-to guide, you need:

  • You must have a flexible server.

Restart your flexible server

Follow these steps to restart your flexible server.

  1. In theĀ Azure portal, choose your flexible server that you want to restart.

  2. Click Overview from the left panel and click Restart.

    Restart selection

  3. A pop-up confirmation message will appear.

  4. Click Yes if you want to continue.

    Restart confirm

  5. A notification will be shown that the restart operation has been initiated.


Using custom RBAC role to restart server please make sure that in addition to Microsoft.DBforPostgreSQL/flexibleServers/restart/action permission this role also has Microsoft.DbforPostgreSQL/servers/write permission granted to it.

Next steps