Skip to content

Commit 378aba6

Browse files
authored
Merge pull request #253489 from kabharati/Altantic10022023
Added Cross Sub and RG restore
2 parents 7f497fa + 11591ad commit 378aba6

File tree

5 files changed

+81
-0
lines changed

5 files changed

+81
-0
lines changed

articles/postgresql/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@
258258
items:
259259
- name: Restore a dropped server
260260
href: flexible-server/how-to-restore-dropped-server.md
261+
- name: Cross subscription and cross resource group restore
262+
items:
263+
- name: Cross subscription and cross resource group restore
264+
href: flexible-server/how-to-restore-to-different-subscription-or-resource-group.md
261265
- name: Restart a server
262266
items:
263267
- name: Azure portal
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: Cross Subscription and Cross Resource Group Restore in Azure Database for PostgreSQL - Flexible Server
3+
description: This article describes how to restore to a different Subscription or resource group server in Azure Database for PostgreSQL - Flexible Server using the Azure portal.
4+
ms.service: postgresql
5+
ms.subservice: flexible-server
6+
ms.topic: how-to
7+
author: kabharati
8+
ms.author: kabharati
9+
ms.reviewer: maghan
10+
ms.date: 09/30/2023
11+
---
12+
13+
# Cross Subscription and Cross Resource Group Restore in Azure Database for PostgreSQL Flexible Server
14+
15+
[!INCLUDE [applies-to-postgresql-Flexible-server](../includes/applies-to-postgresql-Flexible-server.md)]
16+
17+
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 a 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.
18+
19+
## Prerequisites
20+
21+
To complete this how-to guide, you need Azure Database for PostgreSQL - Flexible Server. The procedure is also applicable for a flexible server that's configured with zone redundancy.
22+
23+
## Restore to a different Subscription or Resource group
24+
25+
26+
1. In the [Azure portal](https://portal.azure.com/), choose the flexible server that you want to restore.
27+
28+
2. Select **Overview** from the left pane, and then select **Restore**.
29+
30+
:::image type="content" source="./media/how-to-restore-server-portal/cross-restore-overview.png" alt-text="Screenshot that shows a server overview and the Restore button.":::
31+
32+
3. Under **Subscription** drop down, select different subscription. If you want to change the **Resource group** go to next step else
33+
you can go to Step 5.
34+
35+
4. Select **Resource Group** drop down, choose different Resource group
36+
37+
5. Under **Server details**, for **Name**, provide a server name. For **Availability zone**, you can optionally choose an availability zone to restore to.
38+
39+
:::image type="content" source="./media/how-to-restore-server-portal/choose-different-subscription-or-resource-group.png" alt-text="Screenshot that shows selections for restoring to different subscription or resource group.":::
40+
41+
6. Select **Review + create** and click **create**, a notification shows that the restore operation has started.
42+
43+
## Geo Restore to a different Subscription or Resource group
44+
45+
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
46+
47+
> [!NOTE]
48+
> For the first time that you perform a geo-restore, wait at least one hour after you create the source server
49+
50+
1. In the [Azure portal](https://portal.azure.com/), choose the flexible server that you want to restore the backup from.
51+
52+
2. Select **Overview** from the left pane, and then select **Restore**.
53+
54+
:::image type="content" source="./media/how-to-restore-server-portal/cross-restore-overview.png" alt-text="Screenshot that shows a server overview.":::
55+
56+
3. Under **Subscription** drop down, select different subscription. If you want to change the **Resource group** go to next step else
57+
you can go to Step 5.
58+
59+
4. Select **Resource Group** drop down, choose different Resource group
60+
61+
5. Check the **Restore to paired region** option
62+
63+
6. Under **Server details**, for **Name**, provide a server name. For **Availability zone**, you can optionally choose an availability zone to restore to.
64+
65+
:::image type="content" source="./media/how-to-restore-server-portal/geo-restore-different-subscription-or-resource-group.png" alt-text="Screenshot that shows selections for restoring to the latest point.":::
66+
67+
6. Select **Review + create** and click **create**, a notification shows that the restore operation has started.
68+
69+
70+
71+
72+
## Next steps
73+
74+
- Learn about [business continuity](./concepts-business-continuity.md).
75+
- Learn about [zone-redundant high availability](./concepts-high-availability.md).
76+
- Learn about [backup and recovery](./concepts-backup-restore.md).
77+
Loading
27.9 KB
Loading
Loading

0 commit comments

Comments
 (0)