Discussions specific to the VMware vSphere hypervisor
Post Reply
richw
Veeam ProPartner
Posts: 6
Liked: never
Joined: Aug 13, 2012 4:46 am
Full Name: Richard Warren
Location: Melbourne, VIC, AU
Contact:

Feature Request:Independent disk check

Post by richw » Apr 29, 2013 2:34 am

Would it be possible to test all the included vmdk's in a backup/replication job for their independent disk attribute, and warn in the job log instead of marking the job successful where a vmdk is marked independent?
I had a recent experience where a few VM C: drives were not getting snapshotted because they were independent disks. I only realised because the job time was too short on these VM's, but they were marked as successful.

veremin
Product Manager
Posts: 17148
Liked: 1485 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Feature Request:Independent disk check

Post by veremin » Apr 29, 2013 7:55 am

Unfortunately, right at the moment there is no such functionality. Though, thanks for the feedback.

As a potential workaround, you can utilize simple PS script which checks whether VMs in job have a persistent disks. If so, you will the corresponding message:

Code: Select all

Asnp VMware.VimAutomation.Core
Asnp VeeamPSSnapin
$VMs = Get-VBRJob -name "Backup Job 10" | Get-VBRJobObject 
Connect-VIServer -Server "Name of your vCenter" -User "administrator" -password "Password"
Foreach ($VM in $VMs)
{
        $VM = Get-VM | ?{$_.name -eq $VM.name}
        foreach ($Harddisk in $VM.Harddisks)
        {  
            If ($Harddisk.Persistence -eq "IndependentPersistent") {
            Write-OutPut "$VM.Name has independent disks which will be sciped during backup run"
            Break}
        }
} 
Hope this helps.
Thanks.

richw
Veeam ProPartner
Posts: 6
Liked: never
Joined: Aug 13, 2012 4:46 am
Full Name: Richard Warren
Location: Melbourne, VIC, AU
Contact:

Re: Feature Request:Independent disk check

Post by richw » May 01, 2013 2:11 am

Thanks for the workaround

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests