Cross subscription and cross resource group restore in Azure Database for PostgreSQL - Flexible Server
APPLIES TO:
Azure Database for PostgreSQL - Flexible Server
This article provides a step-by-step procedure for using the Azure portal to perform a restore to a different subscription or resource group in Azure Database for PostgreSQL flexible server through automated backups. You can perform this procedure to the latest restore point or to a custom restore point within your retention period.
To complete this how-to guide, you need an Azure Database for PostgreSQL flexible server instance. The procedure is also applicable for an Azure Database for PostgreSQL flexible server instance that's configured with zone redundancy.
In the Azure portal, choose the Azure Database for PostgreSQL flexible server instance that you want to restore.
Select Overview from the left pane, and then select Restore.
Under Subscription drop down, select different subscription. If you want to change the Resource group go to next step else you can go to Step 5.
Select Resource Group drop down, choose different Resource group
Under Server details, for Name, provide a server name. For Availability zone, you can optionally choose an availability zone to restore to.
Select Review + create and click create, a notification shows that the restore operation has started.
If your source server is configured with geo-redundant backup, you can restore the servers in a paired region to a different resource group or subscription using below steps
Note
For the first time that you perform a geo-restore, wait at least one hour after you create the source server
In the Azure portal, choose the Azure Database for PostgreSQL flexible server instance that you want to restore the backup from.
Select Overview from the left pane, and then select Restore.
Under Subscription drop down, select different subscription. If you want to change the Resource group go to next step else you can go to Step 5.
Select Resource Group drop down, choose different Resource group
Check the Restore to paired region option
Under Server details, for Name, provide a server name. For Availability zone, you can optionally choose an availability zone to restore to.
Select Review + create and click create, a notification shows that the restore operation has started.