The good news is that I know I can still recover from the VBK. That being said, I want to still use the recovery disk to be able to recover in a more "user friendly" matter.
My script is something like:
- Code: Select all
$VirtualMachine = "server"
$HyperVHost = "localhost"
$VM = Get-VM -ComputerName $HyperVHost -Name $VirtualMachine
Add-PsSnapIn VeeamPSSnapIn -ErrorAction SilentlyContinue
$Entity = Find-VBRHvEntity -Name $VirtualMachine -ErrorAction SilentlyContinue
$DateFormat = Get-Date -Format yyyy-MM-dd
$BackupName = $VM.Name + "-" + $DateFormat
$Dest = "H:\PSDCBackup\WS2012R2.vhdx"
Start-VBRZip -Folder "H:\PSDCBackup" -Entity $Entity -ErrorAction SilentlyContinue
What do I need to add to generate a VBM as well?