Skip to content

Commit 89b4193

Browse files
authored
Merge pull request #296420 from AbhishekMallick01/Mar-17-2025-PSQL
PSQL Flex DB restore - Prerequisites and enablement of public network…
2 parents c641ee7 + db12632 commit 89b4193

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

articles/backup/backup-azure-database-postgresql-flex-manage.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Manage backups of Azure Database for PostgreSQL - Flexible Server using Azure portal
33
description: Learn about managing backup for the Azure PostgreSQL - Flexible servers from the Azure portal.
44
ms.topic: how-to
5-
ms.date: 02/28/2025
5+
ms.date: 03/18/2025
66
author: jyothisuri
77
ms.author: jsuri
88
ms.service: azure-backup
@@ -74,6 +74,26 @@ After you trigger the restore operation, the backup service creates a job for tr
7474

7575
This section describes several Azure Backup supported management operations that make it easy to manage Azure PostgreSQL - Flexible servers.
7676

77+
### Enable public network access for the database storage account
78+
79+
Ensure the target storage account for restoring backup as a file is accessible via a public network. If the storage account uses a private endpoint, update its public network access settings before executing a restore operation.
80+
81+
To enable public network access for the target storage account, follow these steps:
82+
83+
1. In the [Azure portal](https://portal.azure.com/), go to the **target storage account** > **Security + Networking** > **Networking**.
84+
85+
2. Select **Manage** under **Public network access**.
86+
87+
3. On the **Public network access** pane, select **Enable from selected networks** as **Default action**.
88+
89+
:::image type="content" source="./media/backup-azure-database-postgresql-flex-manage/enable-public-network-access.png" alt-text="Screenshot shows how to enable public network access for the database storage account." lightbox="./media/backup-azure-database-postgresql-flex-manage/enable-public-network-access.png":::
90+
91+
4. Under **Resource instances**, choose **Resource type** as `Microsoft.DataProtection/BackupVaults`, and then select the **Backup vault** where your backup is stored.
92+
93+
5. Under **Exceptions**, select **Allow trusted Microsoft services to access this resource**.
94+
95+
6. Select **Save** to implement the updates.
96+
7797
### Stop Protection
7898

7999
There are three ways by which you can stop protecting an Azure Disk:
143 KB
Loading

articles/backup/restore-azure-database-postgresql-flex.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Restore Azure Database for PostgreSQL -Flexible server using Azure portal
33
description: Learn about how to restore Azure Database for PostgreSQL -Flexible backups.
44
ms.topic: how-to
5-
ms.date: 02/28/2025
5+
ms.date: 03/18/2025
66
ms.service: azure-backup
77
ms.custom:
88
- ignite-2024
@@ -16,9 +16,13 @@ This article describes how to restore an Azure PostgreSQL -Flexible Server backe
1616

1717
## Prerequisites
1818

19-
1. Before you restore from Azure Database for PostgreSQL Flexible server backups, ensure that you have the required [permissions for the restore operation](backup-azure-database-postgresql-flex-overview.md#permissions-for-backup).
19+
Before you restore from Azure Database for PostgreSQL Flexible server backups, review the following prerequisites:
2020

21-
2. Backup data is stored in the Backup vault as a blob within the Microsoft tenant. During a restore operation, the backup data is copied from one storage account to another across tenants. Ensure that the target storage account for the restore has the **AllowCrossTenantReplication** property set to **true**.
21+
- Ensure that you have the required [permissions for the restore operation](backup-azure-database-postgresql-flex-overview.md#permissions-for-backup).
22+
23+
- Backup data is stored in the Backup vault as a blob within the Microsoft tenant. During a restore operation, the backup data is copied from one storage account to another across tenants. Ensure that the target storage account for the restore has the **AllowCrossTenantReplication** property set to **true**.
24+
25+
- Ensure the target storage account for restoring backup as a file is accessible via a public network. If the storage account uses a private endpoint, [update its public network access settings](backup-azure-database-postgresql-flex-manage.md#enable-public-network-access-for-the-database-storage-account) before executing a restore operation.
2226

2327
## Restore Azure PostgreSQL-Flexible database
2428

@@ -71,7 +75,7 @@ Follow these steps:
7175

7276
If you have more than one database to restore, re-run the earlier command for each database.
7377

74-
Also, by using multiple concurrent jobs **-j**, you can reduce the time it takes to restore a large database on a multi-vCore target server. The number of jobs can be equal to or less than the number of vCPUs that are allocated for the target server.
78+
Also, by using multiple concurrent jobs `-j`, you can reduce the time it takes to restore a large database on a multi-vCore target server. The number of jobs can be equal to or less than the number of vCPUs that are allocated for the target server.
7579

7680
1. To restore the other three files (roles, schema and tablespaces), use the psql utility to restore them to a PostgreSQL Flexible server.
7781

0 commit comments

Comments
 (0)