Skip to content

Commit 443d9cc

Browse files
authored
Merge pull request #295604 from AbhishekMallick01/Mar-3-2025-PSQLF
PSQL Flex backup - Added new tutorial for restore flow
2 parents ae295b7 + 35f4d17 commit 443d9cc

File tree

6 files changed

+96
-1
lines changed

6 files changed

+96
-1
lines changed
119 KB
Loading
52 KB
Loading
61 KB
Loading
91.9 KB
Loading

articles/backup/toc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@
123123
- name: Configure and run Cross Region Restore
124124
href: tutorial-cross-region-restore.md
125125
- name: Back up Azure Database for PostgreSQL - Flexible Server
126-
href: tutorial-create-first-backup-azure-database-postgresql-flex.md
126+
items:
127+
- name: Backup
128+
href: tutorial-create-first-backup-azure-database-postgresql-flex.md
129+
- name: Restore
130+
href: tutorial-restore-postgresql-flex.md
127131
- name: Configure item level backup of an AKS cluster
128132
href: tutorial-configure-backup-aks.md
129133
- name: Configure vaulted backup for Azure Blob
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: Tutorial - Restore Azure Database for PostgreSQL - Flexible Server using Azure portal
3+
description: Learn how to restore Azure Database for PostgreSQL - Flexible Server using Azure portal.
4+
ms.topic: tutorial
5+
ms.date: 03/04/2025
6+
ms.service: azure-backup
7+
ms.custom:
8+
- ignite-2024
9+
author: jyothisuri
10+
ms.author: jsuri
11+
---
12+
13+
# Tutorial: Restore Azure Database for PostgreSQL - Flexible Server using Azure portal
14+
15+
This tutorial describes how to restore Azure Database for PostgreSQL - Flexible Server using the Azure portal.
16+
17+
## Prerequisites
18+
19+
Before you restore Azure Database for PostgreSQL - Flexible Server, ensure the following prerequisites are met:
20+
21+
- Cross Region Restore is supported only for a Backup vault that uses **Storage Redundancy** as **Geo-redundant**.
22+
- Review the [support matrix](backup-azure-database-postgresql-flex-support-matrix.md) for a list of supported managed types and regions.
23+
- Cross Region Restore incurs extra charges. Learn more about [pricing](https://azure.microsoft.com/pricing/details/backup/).
24+
- Once you enable Cross Region Restore, it might take up to **48 hours** for the backup items to be available in secondary regions.
25+
- Review the [permissions required to use Cross Region Restore](backup-rbac-rs-vault.md#minimum-role-requirements-for-azure-vm-backup). 
26+
27+
>[!Note]
28+
>A vault created with **Geo-redundant storage** option enabled allows you to configure the **Cross Region Restore** feature. The Cross Region Restore feature allows you to restore data in a secondary [Azure paired region](/azure/availability-zones/cross-region-replication-azure) even when no outage occurs in the primary region; thus, enabling you to perform drills to assess regional resiliency. 
29+
30+
## Enable Immutability in Backup vault
31+
32+
Immutability in Azure Backup vault is a feature designed to protect your backup data by preventing any operations that could lead to the loss of recovery points. This feature ensures that once data is written to the vault, it can't be modified or deleted, even by administrators.
33+
34+
To enable immutability in the Backup vault, follow these steps:
35+
36+
1. Sign in to the [Azure portal](https://portal.azure.com/)
37+
2. [Create a new Backup vault](create-manage-backup-vault.md#create-backup-vault) or choose an existing Backup vault.
38+
3. [Enable vault immutability](backup-azure-immutable-vault-how-to-manage.md?tabs=backup-vault#enable-immutable-vault).
39+
40+
## Enable Cross Region Restore in Backup vault
41+
42+
Cross Region Restore allows you to restore data in a secondary Azure paired region.
43+
44+
To configure Cross Region Restore for the backup vault, follow these steps:
45+
46+
1. Sign in to the [Azure portal](https://portal.azure.com/).
47+
2. Go to the **Backup vault** you created, and then select **Manage** > **Properties**.
48+
3. Under **Vault Settings**, select **Update** corresponding to **Cross Region Restore**.
49+
4. Under **Cross Region Restore**, select **Enable**.
50+
51+
:::image type="content" source="./media/tutorial-restore-postgresql-flex/enable-cross-region-restore.png" alt-text="Screenshot shows how to enable Cross Region Restore in the Backup vault." lightbox="./media/tutorial-restore-postgresql-flex/enable-cross-region-restore.png":::
52+
53+
## View backup instances in secondary region
54+
55+
If Cross Region Restore is enabled, you can view the backup instances in the secondary region.
56+
57+
To view the backup instances, follow these steps:
58+
59+
1. In the [Azure portal](https://portal.azure.com/), go to your **Backup vault**.
60+
2. Under **Manage**, select **Backup instances**.
61+
3. Select **Instance Region == Secondary Region** on the filters.
62+
63+
:::image type="content" source="./media/tutorial-restore-postgresql-flex/view-database-backup-instance.png" alt-text="Screenshot shows how to view the protected instance of a database." lightbox="./media/tutorial-restore-postgresql-flex/view-database-backup-instance.png":::
64+
65+
## Restore the database server to the secondary region
66+
67+
Once the backup is complete in the primary region, it can take up to **12 hours** for the recovery point in the primary region to get replicated to the secondary region.
68+
69+
70+
To restore recovery point in the secondary region, follow these steps:
71+
72+
1. Go to **Business Continuity Center**, and then select **Recover** on the top menu.
73+
2. On the **Protected items** pane, under **Protected item**, select the **Select** option to choose the protected item that you want to restore.
74+
75+
:::image type="content" source="./media/tutorial-restore-postgresql-flex/select-protected-items-for-restore.png" alt-text="Screenshot shows the selection of a recovery point for the database restore." lightbox="./media/tutorial-restore-postgresql-flex/select-protected-items-for-restore.png":::
76+
77+
3. To restore the backup to the paired region, on the **Restore** pane, on the **Basics** tab, select **Secondary Region**, and then select **Next: Restore point**.
78+
79+
:::image type="content" source="./media/tutorial-restore-postgresql-flex/select-secondary-region-for-restore.png" alt-text="Screenshot shows the selection of the secondary region for restore.":::
80+
81+
4. On the **Restore point** tab, select the restore point that you want to use for the restore operation, and then select **Next: Restore parameter**.
82+
5. On the **Restore parameters** tab, choose the target storage account and container, and then select **Validate** to check the restore parameters permissions before the final review and restore.
83+
6. Once the validation is successful, select **Review + restore**.
84+
7. On the **Review + restore** tab, select **Restore** to start the restore operation.
85+
86+
Once the restore starts, you can monitor the completion of the restore operation under **Jobs**.
87+
88+
89+
## Next steps
90+
91+
[Manage backups of Azure Database for PostgreSQL - Flexible Server using Azure portal](backup-azure-database-postgresql-flex-manage.md).

0 commit comments

Comments
 (0)