Skip to content

Commit 6c982d9

Browse files
author
AbhishekMallick01
committed
PSQL Flex backup - Added new tutorial for restore flow
1 parent d558202 commit 6c982d9

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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 additional 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,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+
## View backup instances in secondary region
52+
53+
If Cross Region Restore is enabled, you can view the backup instances in the secondary region.
54+
55+
To vire the backup instances, follow these steps:
56+
57+
1. In the [Azure portal](https://portal.azure.com/), go to your **Backup vault**.
58+
2. Under **Manage**, select **Backup instances**.
59+
3. Select **Instance Region == Secondary Region** on the filters.
60+
61+
## Restore the database server to the secondary region
62+
63+
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.
64+
65+
To restore the database server to the secondary region, follow these steps:
66+
67+
1. To check the availability of recovery point in the secondary region, go to the Backup center > Backup Instances.
68+
2. Select Restore to secondary region.
69+
70+
You can also trigger restores from the respective backup instance.
71+
3. Select Restore to secondary region to review the target region selected, and then select the appropriate recovery point and restore parameters.
72+
4. Once the restore starts, you can monitor the completion of the restore operation under Backup Jobs of the Backup vault by filtering Jobs workload type to Azure Database for PostgreSQL – flexible servers and Instance Region to Secondary Region.
73+
74+
75+
76+

0 commit comments

Comments
 (0)