We use to have one 21 Node Cluster backing up with VEEAM, the same script use to add new VMS in a job between 5-10 seconds.
After adding a 3 Node Cluster to be backed up with same VEEAM server and using the same script, it now takes 40-50 minutes per VM to be added in a JOB.
Can you please see what needs to be fixed or are there files that we need to clean up to make this faster.
Code: Select all
Clear-Host
Add-PsSnapIn VeeamPSSnapIn -ErrorAction SilentlyContinue
$myCrmJob = Get-VBRJob -Name "JOBNAME1"
$myVMs = Get-Content .\veeam-add-list.txt
foreach ($myVM in $myVMs)
{
Find-VBRHvEntity -Name $myVM | Add-VBRHvJobObject -Job $myCrmJob
}
Adnan