I have a problem when searching for information in jobs type "EpAgentBackup", in the "Backup" type I can search for all the information, but in "EpAgentBackup" I can't...
I would like information like the following:
Job = $JobName
Name = $jobObject.Name
Size = $jobObject.ApproxSizeString
PointsOnDisk = $PointsOnDisk
LastResult = $LastResult
LastBackupStart = $LastBackupStart
LastBackupTotalSize = $BackupTotalSize
LastBackupSize = $BackupSize
RepositoryPath = $RepositoryPath
Status = $jobStatus
Today I can't search for information via PowerShell in Agent type jobs.
Could someone please tell me if it is possible?
Thank you for all your support!
Thanks in advance
Best answer by Michael Melter
The object model for agent job handling is being reworked. Did you try Get-VBRComputerBackupJobSession already?
We are using several PS scripts to generate CSV files with all the information about VM, Agent, NAS, Plugin and SQL-TLOG sessions that did produce backups during e.g. the last 24h.
The part that produces agent data might serve you:
Yes, we work with Veeam Backup & Replication 12 and create PowerShell scripts to monitor our customers' backup environments via Zabbix. But we have already tried in several ways to obtain this information for the jobtype "EpAgentBackup" but without success.
We are using several PS scripts to generate CSV files with all the information about VM, Agent, NAS, Plugin and SQL-TLOG sessions that did produce backups during e.g. the last 24h.
The part that produces agent data might serve you:
Hi @Michael Melter,I hope you are well.The script sent worked perfectly, now I can see everything we need for good monitoring.Thank you very much for your support.