@@ -3,7 +3,7 @@ title: Manage Azure Kubernetes Service (AKS) backups using Azure Backup
3
3
description : This article explains how to manage Azure Kubernetes Service (AKS) backups using Azure Backup.
4
4
ms.topic : how-to
5
5
ms.service : backup
6
- ms.date : 04/21 /2023
6
+ ms.date : 04/26 /2023
7
7
author : jyothisuri
8
8
ms.author : jsuri
9
9
---
@@ -82,7 +82,7 @@ This section provides the set of Azure CLI commands to perform create, update, o
82
82
To install the Backup Extension, run the following command:
83
83
84
84
``` azurecli-interactive
85
- az k8s-extension create --name azure-aks-backup --extension-type Microsoft.DataProtection.Kubernetes --scope cluster --cluster-type managedClusters --cluster-name <aksclustername> --resource-group <aksclusterrg> --release-train stable --configuration-settings blobContainer=<containername> storageAccount=<storageaccountname> storageAccountResourceGroup=<storageaccountrg> storageAccountSubscriptionId=<subscriptionid>
85
+ az k8s-extension create --name azure-aks-backup --extension-type microsoft.dataprotection.kubernetes --scope cluster --cluster-type managedClusters --cluster-name <aksclustername> --resource-group <aksclusterrg> --release-train stable --configuration-settings blobContainer=<containername> storageAccount=<storageaccountname> storageAccountResourceGroup=<storageaccountrg> storageAccountSubscriptionId=<subscriptionid>
86
86
```
87
87
88
88
### View Backup Extension installation status
@@ -127,11 +127,11 @@ To enable Trusted Access between Backup vault and AKS cluster, use the following
127
127
128
128
``` azurecli-interactive
129
129
az aks trustedaccess rolebinding create \
130
- --resource-group <backupvaultrg> \
131
- --cluster-name <aksclustername> \
132
- --name <randomRoleBindingName> \
133
- --source-resource-id /subscriptions/<subscriptionid>/resourcegroups/<backupvaultrg>/providers/Microsoft.DataProtection/BackupVaults/<backupvaultname> \
134
- --roles Microsoft.DataProtection/backupVaults/backup-operator
130
+ -g $myResourceGroup \
131
+ --cluster-name $myAKSCluster
132
+ –n <randomRoleBindingName> \
133
+ --source-resource-id <vaultID> \
134
+ --roles Microsoft.DataProtection/backupVaults/backup-operator
135
135
```
136
136
137
137
Learn more about [ other commands related to Trusted Access] ( ../aks/trusted-access-feature.md#trusted-access-feature-overview ) .
0 commit comments