Skip to content

Commit 847272c

Browse files
authored
Merge pull request #281189 from rajats22/backuupdates-07152024
AKS, Postgres and MySQL updates
2 parents a99c026 + 6f7a9d3 commit 847272c

5 files changed

+74
-5
lines changed

articles/backup/azure-kubernetes-service-cluster-restore.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Azure Backup now allows you to back up AKS clusters (cluster resources and persi
2525

2626
- You must [install the Backup Extension](azure-kubernetes-service-cluster-manage-backups.md#install-backup-extension) in the target AKS cluster. Also, you must [enable Trusted Access](azure-kubernetes-service-cluster-manage-backups.md#register-the-trusted-access) between the Backup vault and the AKS cluster.
2727

28+
- In case you are trying to restore a backup stored in Vault Tier, you need to provide a storage account in input as a staging location. 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 vault to staging storage account across tenants. Ensure that the staging storage account for the restore has the **AllowCrossTenantReplication** property set to **true**.
29+
2830
For more information on the limitations and supported scenarios, see the [support matrix](azure-kubernetes-service-cluster-backup-support-matrix.md).
2931

3032
## Restore the AKS clusters
@@ -35,7 +37,7 @@ To restore the backed-up AKS cluster, follow these steps:
3537

3638
:::image type="content" source="./media/azure-kubernetes-service-cluster-restore/start-kubernetes-cluster-restore.png" alt-text="Screenshot shows how to start the restore process.":::
3739

38-
2. On the next page, click **Select backup instance**, and then select the *instance* that you want to restore.
40+
2. On the next page, select **Select backup instance**, and then select the *instance* that you want to restore.
3941

4042
If the instance is available in both *Primary* and *Secondary Region*, select the *region to restore* too, and then select **Continue**.
4143

@@ -70,7 +72,7 @@ To restore the backed-up AKS cluster, follow these steps:
7072

7173
:::image type="content" source="./media/azure-kubernetes-service-cluster-restore/select-resources-to-restore-page.png" alt-text="Screenshot shows the Select Resources to restore page.":::
7274

73-
6. If you seleted a recovery point for restore from *Vault-standard datastore*, then provide a *snapshot resource group* and *storage account* as the staging location.
75+
6. If you selected a recovery point for restore from *Vault-standard datastore*, then provide a *snapshot resource group* and *storage account* as the staging location.
7476

7577
:::image type="content" source="./media/azure-kubernetes-service-cluster-restore/restore-parameters.png" alt-text="Screenshot shows the parameters to add for restore from Vault-standard storage.":::
7678

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Troubleshoot Azure Backup Vault
3+
description: Symptoms, causes, and resolutions of the Azure Backup Vault related operations.
4+
ms.topic: troubleshooting
5+
ms.date: 07/18/2024
6+
ms.service: backup
7+
author: AbhishekMallick-MS
8+
ms.author: v-abhmallick
9+
---
10+
11+
# Troubleshoot Azure Backup Vault related operations
12+
13+
This article provides troubleshooting steps that help you resolve Azure Backup Vault management errors.
14+
15+
## Common user errors
16+
17+
#### Error code: UserErrorSystemIdentityNotEnabledWithVault
18+
19+
**Possible Cause:** Backup Vault is created with System Identity enabled by default. This error appears when System Identity of the Backup Vault is in a disabled state and a backup related operation fails with this error.
20+
21+
**Resolution:** To resolve this error, enable the System Identity of the Backup Vault and reassign all the necessary roles to it. Else use a User Identity in its place with all the roles assigned and update Managed Identity for all the Backup Instances using the now disabled System Identity.
22+
23+
#### Error code: UserErrorUserIdentityNotFoundOrNotAssociatedWithVault
24+
25+
**Possible Cause:** Backup Instances can be created with a User Identity having all the required roles assigned to it. In addition, User Identity can also be used for operations like Encryption using a Customer Managed Key. This error appears when the particular User Identity is deleted or not attached with the Backup Vault.
26+
27+
**Resolution:** To resolve this error, assign the same or alternate User Identity to the Backup Vault and update the Backup Instance to use the new identity in latter case. Otherwise, enable the System Identity of the Backup Vault, update the Backup Instance and assign all the necessary roles to it.
28+
29+
## Next steps
30+
31+
- [About Azure Backup Vault](create-manage-backup-vault.md)

articles/backup/backup-azure-mysql-flexible-server-restore.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ This article describes how to restore the Azure Database for MySQL - Flexible Se
1313

1414
Learn more about the [supported scenarios. considerations, and limitations](backup-azure-mysql-flexible-server-support-matrix.md).
1515

16+
## Prerequisites
17+
18+
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**.
19+
1620
## Restore MySQL - Flexible Server database
1721

1822
To restore the database, follow these steps:
@@ -44,4 +48,4 @@ To restore the database, follow these steps:
4448

4549
## Next steps
4650

47-
- [Back up the Azure Database for MySQL - Flexible Server (preview)](backup-azure-mysql-flexible-server.md)
51+
- [Back up the Azure Database for MySQL - Flexible Server (preview)](backup-azure-mysql-flexible-server.md)

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

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ This article explains how to restore an Azure PostgreSQL -flex server backed up
1414

1515
## Prerequisites
1616

17-
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).
17+
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).
18+
19+
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**.
1820

1921
## Restore Azure PostgreSQL-Flexible database
2022

@@ -40,7 +42,35 @@ Follow these steps:
4042

4143
1. Submit the Restore operation and track the triggered job under **Backup jobs**.
4244
:::image type="content" source="./media/restore-azure-database-postgresql-flex/validate.png" alt-text="Screenshot showing the validate process page.":::
45+
46+
1. Once the job is finished, the backed-up data is restored into the storage account. Below are the set of files recovered in your storage account after the restore:
47+
48+
- The first file is a marker or timestamp file that gives the customer the time the backup was taken at. The file cannot be restored but if opened with a text editor should tell the customer the UTC time when the backup was taken.
49+
50+
- The Second file **_database_** is an individual database backup for database called tempdata2 taken using pg_dump. Each database has a separate file with format **– {backup_name}_database_{db_name}.sql**
51+
52+
- The Third File **_roles**. Has roles backed up using pg_dumpall
53+
54+
- The Fourth file **_schemas**. backed up using pg_dumpall
55+
56+
- The Fifth file **_tablespaces**. Has the tablespaces backed up using pg_dumpall
57+
58+
1. Post restoration completion to the target storage account, you can use pg_restore utility to restore an Azure Database for PostgreSQL flexible server database from the target. Use the following command to connect to an existing postgresql flexible server and an existing database
59+
60+
`pg_restore -h <hostname> -U <username> -d <db name> -Fd -j <NUM> -C <dump directory>`
61+
62+
* `-Fd`: The directory format.
63+
* `-j`: The number of jobs.
64+
* `-C`: Begin the output with a command to create the database itself and then reconnect to it.
65+
66+
Here's an example of how this syntax might appear:
67+
68+
`pg_restore -h <hostname> -U <username> -j <Num of parallel jobs> -Fd -C -d <databasename> sampledb_dir_format`
69+
70+
If you have more than one database to restore, re-run the earlier command for each database.
71+
72+
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.
4373

4474
## Next steps
4575

46-
[Support matrix for PostgreSQL-Flex database backup by using Azure Backup](backup-azure-database-postgresql-flex-support-matrix.md).
76+
[Support matrix for PostgreSQL-Flex database backup by using Azure Backup](backup-azure-database-postgresql-flex-support-matrix.md).

articles/backup/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,8 @@
811811
href: backup-azure-troubleshoot-slow-backup-performance-issue.md
812812
- name: Azure Backup Server
813813
href: backup-azure-mabs-troubleshoot.md
814+
- name: Azure Backup Vault
815+
href: backup-azure-backup-vault-troubleshoot.md
814816
- name: System Center DPM
815817
href: backup-azure-scdpm-troubleshooting.md
816818
- name: Azure File share

0 commit comments

Comments
 (0)