Backup Hyper-V Virtual Machines with Pass-Through Disks
Thanks to: https://www.doitfixit.com/ We cannot backup Hyper-V Virtual Machines with pass-through virtual disks due to Hyper-V checkpoints limitation. Backup software will stop processing the backup job with “Processing VMs with pass-through disks is not supported” or similar error. To fix this issue (We are going to backup the Virtual Machine without pass-through disks) we can use pre/post scripts option in backup softwares. What we do here is when the backup starts we remove the pass-through disks and once the backup job is completed we re-attach the disks to the virtual machine. Pre-Script: Remove-VMHardDiskDrive -VMName <VirtualMachineName> -Passthru -ControllerType SCSI -ControllerNumber <ID> -ControllerLocation <ID> Eg: Remove-VMHardDiskDrive -VMName VM01 -Passthru -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0 Post-Script: Add-VMHardDiskDrive -VMName <VirtualMachineName> -Controller...