Skip to content

Commit 1b8e3f8

Browse files
Merge pull request #234345 from pvrk/Feb2022
postgresql DB restore user perm update
2 parents fa25e74 + 69b2df7 commit 1b8e3f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ You can restore a database to any Azure PostgreSQL server of a different/same su
4444

4545
:::image type="content" source="./media/restore-azure-database-postgresql/restore-as-database-inline.png" alt-text="Screenshot showing the selected restore type as Restore as Database." lightbox="./media/restore-azure-database-postgresql/restore-as-database-expanded.png":::
4646

47+
> [!IMPORTANT]
48+
> The DB user whose credentials were chosen via the key vault will have all the privileges over the restored database and any existing DB user boundaries will be overridden. For eg: If the backed up database had any DB user specific permissions/constraints such as DB user A can access few tables, and DB user B can access few other tables, such permissions will not be preserved after restore. If you want to preserve those permissions, use restore as files and use the pg_restore command with the relevant switch.
49+
4750
- **Restore as Files: Dump the backup files to the target storage account (blobs).**
4851

4952
You can choose from the storage accounts across all subscriptions, but in the same region as that of the vault.

0 commit comments

Comments
 (0)