Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
APPLIES TO:
Azure Database for PostgreSQL - Flexible Server
This article provides step-by-step instructions to switch over a read replica of an Azure Database for PostgreSQL flexible server so that it becomes the new primary server of the replication set.
Steps to promote replica to standalone server
Using the Azure portal:
Select the Azure Database for PostgreSQL flexible server for which you want to show its associated virtual endpoints.
In the resource menu, under the Settings section, select Replication.
Select the Promote icon to the side of the name of the endpoint of the read replica to which you want to switch over.
In Replica server to promote, select Promote to independent server and remove from replication. This won't impact the primary server. for Action. And select Planned or Forced for Data sync, depending on what suits your needs best. if you decide to use the Planned option, you have to mark the I understand that this read replica will become an independent server and that this action can't be undone. to acknowledge that the read replica will be detached into its own standalone entity. If you decide to use the Forced option, you have to mark the I understand that this read replica will become an independent server and that its data won't be synced first. This action can't be undone. checkbox to also acknowledge the potential data loss. Finally, select Promote.
A notification informs you that the read replica is being promoted to a standalone server.
When the process completes, a notification informs you that the read replica successfully promoted to a standalone server.