You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/how-to-deploy-self-hosted-gateway-kubernetes-opentelemetry.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,6 @@ ms.date: 12/17/2021
15
15
16
16
This article describes the steps for deploying the self-hosted gateway component of Azure API Management to a Kubernetes cluster and automatically send all metrics to an [OpenTelemetry Collector](https://opentelemetry.io/docs/collector/).
The self-hosted gateway can be configured to automatically collect and send metrics to an [OpenTelemetry Collector](https://opentelemetry.io/docs/concepts/components/#collector). This allows you to bring your own metrics collection and reporting solution for the self-hosted gateway.
Copy file name to clipboardExpand all lines: articles/backup/azure-kubernetes-service-cluster-backup-concept.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ ms.topic: overview
5
5
ms.service: azure-backup
6
6
ms.custom:
7
7
- ignite-2023
8
-
ms.date: 01/21/2025
8
+
ms.date: 01/30/2025
9
9
author: jyothisuri
10
10
ms.author: jsuri
11
11
---
@@ -120,5 +120,5 @@ Also, as part of the backup and restore operations, the following roles are assi
120
120
-[About Azure Kubernetes Service backup](azure-kubernetes-service-backup-overview.md)
121
121
-[Supported scenarios for Azure Kubernetes Service cluster backup](azure-kubernetes-service-cluster-backup-support-matrix.md)
122
122
- Back up Azure Kubernetes Service cluster using [Azure portal](azure-kubernetes-service-cluster-backup.md), [Azure PowerShell](azure-kubernetes-service-cluster-backup-using-powershell.md)
123
-
- Restore Azure Kubernetes Service cluster using [Azure portal](azure-kubernetes-service-cluster-restore.md), [Azure CLI](azure-kubernetes-service-cluster-restore-using-cli.md)
123
+
- Restore Azure Kubernetes Service cluster using [Azure portal](azure-kubernetes-service-cluster-restore.md), [Azure CLI](azure-kubernetes-service-cluster-restore-using-cli.md), [Azure PowerShell](azure-kubernetes-service-cluster-restore-using-powershell.md)
124
124
-[Manage Azure Kubernetes Service cluster backups](azure-kubernetes-service-cluster-manage-backups.md)
Copy file name to clipboardExpand all lines: articles/backup/azure-kubernetes-service-cluster-backup.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Back up Azure Kubernetes Service by using Azure Backup
3
3
description: Learn how to back up Azure Kubernetes Service (AKS) by using Azure Backup.
4
4
ms.topic: how-to
5
5
ms.service: azure-backup
6
-
ms.date: 01/16/2025
6
+
ms.date: 01/30/2025
7
7
author: jyothisuri
8
8
ms.author: jsuri
9
9
---
@@ -212,6 +212,6 @@ To enable a backup hook as part of the backup configuration flow to back up MySQ
212
212
213
213
## Next steps
214
214
215
-
- [Restore an Azure Kubernetes Service cluster](azure-kubernetes-service-cluster-restore.md)
215
+
- Restore an Azure Kubernetes Service cluster using [Azure portal](azure-kubernetes-service-cluster-restore.md), [Azure PowerShell](azure-kubernetes-service-cluster-restore-using-powershell.md)
216
216
- [Manage Azure Kubernetes Service cluster backups](azure-kubernetes-service-cluster-manage-backups.md)
217
217
- [About Azure Kubernetes Service cluster backup](azure-kubernetes-service-cluster-backup-concept.md)
Copy file name to clipboardExpand all lines: articles/backup/azure-kubernetes-service-cluster-restore-using-cli.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Restore Azure Kubernetes Service (AKS) using Azure CLI
3
3
description: This article explains how to restore backed-up Azure Kubernetes Service (AKS) using Azure CLI.
4
4
ms.topic: how-to
5
5
ms.service: azure-backup
6
-
ms.date: 01/21/2025
6
+
ms.date: 01/30/2025
7
7
ms.custom:
8
8
- devx-track-azurecli
9
9
- ignite-2023
@@ -14,7 +14,7 @@ ms.author: jsuri
14
14
15
15
# Restore Azure Kubernetes Service using Azure CLI
16
16
17
-
This article describes how to restore Azure Kubernetes cluster from a restore point created by Azure Backup using Azure CLI.
17
+
This article describes how to restore Azure Kubernetes cluster from a restore point created by Azure Backup using Azure CLI. You can also restore AKS cluster using [Azure PowerShell](azure-kubernetes-service-cluster-restore-using-powershell.md).
18
18
19
19
Azure Backup now allows you to back up AKS clusters (cluster resources and persistent volumes attached to the cluster) using a backup extension, which must be installed in the cluster. Backup vault communicates with the cluster via this Backup Extension to perform backup and restore operations.
title: Restore Azure Kubernetes Service (AKS) using PowerShell
2
+
title: Restore Azure Kubernetes Service (AKS) via PowerShell using Azure Backup
3
3
description: This article explains how to restore backed-up Azure Kubernetes Service (AKS) using Azure PowerShell.
4
4
ms.topic: how-to
5
5
ms.service: azure-backup
6
-
ms.date: 05/13/2024
6
+
ms.date: 01/30/2025
7
7
ms.custom:
8
8
- devx-track-azurepowershell
9
9
- ignite-2023
@@ -16,14 +16,26 @@ ms.author: jsuri
16
16
17
17
This article describes how to restore Azure Kubernetes cluster from a restore point created by Azure Backup using Azure PowerShell.
18
18
19
-
Azure Backup now allows you to back up AKS clusters (cluster resources and persistent volumes attached to the cluster) using a backup extension, which must be installed in the cluster. Backup vault communicates with the cluster via this Backup Extension to perform backup and restore operations.
19
+
Azure Backup supports backing up AKS clusters, including cluster resources and attached persistent volumes, using a backup extension. This extension must be installed in the cluster, enabling the Backup Vault to communicate with it to perform backup and restore operations.
20
20
21
-
You can perform both *Original-Location Recovery (OLR)*(restoring in the AKS cluster that was backed up) and *Alternate-Location Recovery (ALR)*(restoring in a different AKS cluster). You can also select the items to be restored from the backup that is Item-Level Recovery (ILR).
21
+
You can perform *Original-Location Recovery (OLR)* in the same AKS cluster or *Alternate-Location Recovery (ALR)* in a different AKS cluster. Item-Level Recovery (ILR) lets you select specific items to restore from the backup.
22
22
23
23
>[!Note]
24
-
>Before you initiate a restore operation, the target cluster should have Backup Extension installed and Trusted Access enabled for the Backup vault. [Learn more](azure-kubernetes-service-cluster-backup-using-powershell.md#prepare-aks-cluster-for-backup).
24
+
>Before you initiate a restore operation, ensure that the target cluster has Backup Extension installed and Trusted Access enabled for the Backup vault. [Learn more](azure-kubernetes-service-cluster-backup-using-powershell.md#prepare-aks-cluster-for-backup).
25
25
26
-
Initialize the variables with required details related to each resource to be used in commands:
26
+
## Prerequisites
27
+
28
+
Before you restore an AKS cluster, ensure that you meet the following prerequisites:
29
+
30
+
- AKS backup allows you to restore to original AKS cluster (that was backed up) and to an alternate AKS cluster. AKS backup allows you to perform a full restore and item-level restore. You can utilize [restore configurations](#restore-to-an-aks-cluster) to define parameters based on the cluster resources for restore.
31
+
32
+
- 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#trusted-access-related-operations) between the Backup vault and the AKS cluster.
33
+
34
+
For more information on the limitations and supported scenarios, see the [support matrix](azure-kubernetes-service-cluster-backup-support-matrix.md).
35
+
36
+
## Initialize Variables for Resource Commands
37
+
38
+
Here, provide the necessary details for each resource to be used in your commands.
27
39
28
40
- Subscription ID of the Backup Vault
29
41
@@ -47,95 +59,93 @@ Initialize the variables with required details related to each resource to be us
47
59
$restoreLocation = "vaultRegion" #example eastus
48
60
```
49
61
50
-
- ID of the target AKS cluster, in case the restore will be performed to an alternate AKS cluster
62
+
- ID of the target AKS cluster, in case the restore is performed to an alternate AKS cluster
- AKS backup allows you to restore to original AKS cluster (that was backed up) and to an alternate AKS cluster. AKS backup allows you to perform a full restore and item-level restore. You can utilize [restore configurations](#restore-to-an-aks-cluster) to define parameters based on the cluster resources that will be restored.
59
-
60
-
- 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#trusted-access-related-operations) between the Backup vault and the AKS cluster.
61
-
62
-
For more information on the limitations and supported scenarios, see the [support matrix](azure-kubernetes-service-cluster-backup-support-matrix.md).
63
-
64
68
## Restore to an AKS cluster
65
69
66
70
### Fetch the relevant recovery point
67
71
68
-
Fetch all instances using the `Get-AzDataProtectionBackupInstance` cmdlet and identify the relevant instance.
72
+
To fetch the relevant recovery points, run the following cmdlets:
You can also use `Az.Resourcegraph` and `Search-AzDataProtectionBackupInstanceInAzGraph` cmdlets to search across instances in multiple vaults and subscriptions.
80
+
To search across instances in multiple vaults and subscriptions, use `Az.Resourcegraph` and `Search-AzDataProtectionBackupInstanceInAzGraph` cmdlets.
Once the instance is identified, fetch the relevant recovery point. Supposedly, from the output array of the above command, third backup instance is to be restored.
86
+
2.Once the instance is identified, fetch the relevant recovery point. From the output array of the given cmdlet, third backup instance is to be restored.
Use the `New-AzDataProtectionRestoreConfigurationClientObject` cmdlet to prepare the restore configuration and defining the items to be restored to the target AKS cluster.
94
+
To prepare the restore request, run the following cmdlets:
1. Prepare the restore configuration and define the items to be restored to the target AKS cluster by using the `New-AzDataProtectionRestoreConfigurationClientObject` cmdlet.
93
97
94
-
Then, use the `Initialize-AzDataProtectionRestoreRequest` cmdlet to prepare the restore request with all relevant details.
1.*Target AKS* cluster should have *Contributor* role on the *Snapshot Resource Group*.
119
-
2. The *User Identity* attached with the Backup Extension should have *Storage Account Contributor* roles on the *storage account* where backups are stored.
120
-
3. The *Backup vault* should have a *Reader* role on the *Target AKS cluster* and *Snapshot Resource Group*.
125
+
>[!Note]
126
+
>During the restore operation, the Backup vault and the AKS cluster need to have certain roles assigned to perform the restore:
121
127
122
-
Now, use the `Start-AzDataProtectionBackupInstanceRestore` cmdlet to trigger the restore operation with the request prepared earlier.
128
+
- *Target AKS* cluster should have *Contributor* role on the *Snapshot Resource Group*.
129
+
- The *User Identity* attached with the Backup Extension should have *Storage Account Contributor* roles on the *storage account* where backups are stored.
130
+
- The *Backup vault* should have a *Reader* role on the *Target AKS cluster* and *Snapshot Resource Group*.
Track all the jobs using the `Get-AzDataProtectionJob` cmdlet. You can list all jobs and fetch a particular job detail. You can also use `Az.ResourceGraph` to track all jobs across all Backup vaults.
140
+
Track all the jobs using the `Get-AzDataProtectionJob` cmdlet. You can list all jobs and fetch a particular job detail. Alternatively, use Az.ResourceGraph to track jobs across all Backup vaults.
131
141
132
-
Use the `Search-AzDataProtectionJobInAzGraph` cmdlet to get the relevant job, which can be across any Backup vault.
142
+
To get the relevant jobacross any Backup vault, use the `Search-AzDataProtectionJobInAzGraph` cmdlet.
0 commit comments