In your example you make a selection for only backup jobs where as in the VMs tab you get replicas as well
Since in case of replication restore points are stored in VMware native format (snapshots), it might be worth putting into use PowerCLI in order to check corresponding information regarding them (count, creation time):
Code: Select all
asnp VeeamPSSnapin
asnp VMware.Vimautomation.core
Connect-VIServer -Server "vCenter" -User "User" -Password "Password"
Foreach ($Job in (Get-VBRJob | where {$_.JobType -eq "Replica"}))
{
Foreach ($VM in ($Job | Get-VBRJobObject))
{
$Snapshots = Get-Snapshot -vm (Get-VM -name $VM.name)
Get-VM -name $VM.name | Select-Object -Property `
`@{N="VM Name";E={$VM.name}},
`@{N="Job Name";E={$Job.Name}},
`@{N="Restore Points";E={($Snapshots | Measure-Object).count}},
`@{N="Path";E={$VM.Info.Location}},
`@{N="Creation Time"; E={($Snapshots | Sort-Object created -Descending | select -First 1).Created.DateTime}}`
`| Sort Name -Descending | Format-Table
}
}
last successful backup (in your example you take out the oldest run on the job and you only need to change select-object -Last to -First to get the latest restore point, not sure if you need to verify that it is an actual successful restore point)
Yep, there must have been a typo, I’ve fixed it already.
backup location (repository if backup) (you have file path but since we do not know on what server this is its only part of the information ) I would guess you can get this information by looking at the StorageID.
Assuming that you utilize some remote methods to connect to different servers, you’ll be able to combine the name of this server with the aforesaid path, and it, in its turn, will be a direct location of backup data (sever1.yourdomain.net -> D:\Repository#1, for instance).
Hope this helps.
Thanks.