Azure VM Selective Disk Backup
Azure VM Selective Disk Backup
Azure VM Selective Disk Backup
com)
Hey Folks
Example
What we can do is
$vm.StorageProfile.DataDisks
$disks = (“0”)
$targetVault = Get-AzRecoveryServicesVault -ResourceGroupName
AE-DEV-LINUX -Name LinuxRecovery
Enable Protection
$item= Get-AzRecoveryServicesBackupItem -
BackupManagementType “AzureVM” -WorkloadType “AzureVM” -
VaultId $targetVault.ID -FriendlyName “LinuxVm01”
Azure VM Selective Disk Backup – Blog of Danidu (wordpress.com)
To backup the OS disk only, we can achive this from GUi. Simply
browse torecovery services vault.
Once you select the VM, you can simply tick the option to backup
OS only