File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ To update the backup instance, run the following cmdlets:
206206 1. Fetch the backup instance that needs to be updated.
207207
208208 ```azurepowershell
209- C:\Users\dapatil > $instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "Demosub" -ResourceGroup Demo-BCDR-RG -Vault BCDR-BV-EastUS -DatasourceType AzureBlob
210- PS C:\Users\dapatil > $instance
209+ C:\Users\testuser > $instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "Demosub" -ResourceGroup Demo-BCDR-RG -Vault BCDR-BV-EastUS -DatasourceType AzureBlob
210+ PS C:\Users\testuser > $instance
211211 Output
212212 Name BackupInstanceName
213213 ---- ------------------
@@ -226,12 +226,12 @@ To update the backup instance, run the following cmdlets:
226226 1. Update the backup instance with new list of container (the existing backed up containers & new containers).
227227
228228 ```azurepowershell
229- PS C:\Users\dapatil > $updateBI = Update-AzDataProtectionBackupInstance -ResourceGroupName Daya-BCDR-RG -VaultName DPBCDR-BV-EastUS -BackupInstanceName $instance[0].Name -SubscriptionId "ef4ab5a7-c2c0-4304-af80-af49f48af3d1" -PolicyId $updatePolicy.id -VaultedBackupContainer $targetContainers.name
229+ PS C:\Users\testuser > $updateBI = Update-AzDataProtectionBackupInstance -ResourceGroupName Daya-BCDR-RG -VaultName DPBCDR-BV-EastUS -BackupInstanceName $instance[0].Name -SubscriptionId "ef4ab5a7-c2c0-4304-af80-af49f48af3d1" -PolicyId $updatePolicy.id -VaultedBackupContainer $targetContainers.name
230230
231231
232- PS C:\Users\dapatil > $updateBI.Property.PolicyInfo.PolicyId
232+ PS C:\Users\testuser > $updateBI.Property.PolicyInfo.PolicyId
233233 /subscriptions/ef4ab5a7-c2c0-4304-af80-af49f48af3d1/resourceGroups/Daya-BCDR-RG/providers/Microsoft.DataProtection/backupVaults/DPBCDR-BV-EastUS/backupPolicies/continerdeltest-1
234- PS C:\Users\dapatil > $updateBI.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList
234+ PS C:\Users\testuser > $updateBI.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList
235235 cont-01
236236 cont-02
237237 cont-03
You can’t perform that action at this time.
0 commit comments