Skip to content

Commit 5a537a9

Browse files
Restore PSQL Flex - Restore command fixed
1 parent 5b428e6 commit 5a537a9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Restore Azure PostgreSQL-Flexible server as Files using Azure portal
33
description: Learn about how to restore Azure PostgreSQL-Flexible server as Files.
44
ms.topic: how-to
5-
ms.date: 09/11/2025
5+
ms.date: 10/08/2025
66
ms.service: azure-backup
77
ms.custom:
88
- ignite-2024
@@ -82,7 +82,7 @@ To restore the backup files from storage container to a new or existing PostgreS
8282
1. Then, restore the data in this database from the dump file by running the following command:
8383

8484
```azurecli-interactive
85-
pg_restore -h <postgres-server-url> -p <port> -U <username> -d <database-name> --no-owner -v
85+
pg_restore -h <postgres-server-url> -p <port> -U <username> -d <database-name> --no-owner -v <File Name>
8686
```
8787

8888
- `--account-name`: Name of the Target Storage Account.
@@ -93,6 +93,9 @@ To restore the backup files from storage container to a new or existing PostgreS
9393
- `-j`: The number of jobs.
9494
- `-C`: Begin the output with a command to create the database itself and then reconnect to it.
9595

96+
>[!Note]
97+
>If the command doesn't execute as expected, specify the complete file path instead of using only the file name.
98+
9699
Alternatively, you can download the backup file and run the restore directly.
97100

98101
1. Restore only the required roles and privileges, and ignore the [common errors](backup-azure-database-postgresql-flex-support-matrix.md#restore-limitations). Skip this step if you're performing the restoration for compliance requirements and data retrieval, as a local admin.

0 commit comments

Comments
 (0)