We are seeing high merge time due to using Forever Forward and I want to view it for a job over a few weeks.
Is there an easy way to view how long the merge time is for a specific job over time?
Does merge time show per VM in a job if you are using per-vm backup files on the repo?
-
- Enthusiast
- Posts: 58
- Liked: 5 times
- Joined: Apr 23, 2014 9:51 am
- Full Name: Andy Goldschmidt
- Contact:
Request - PS to extract "merge time" from job
-= VMCE v9 certified =-
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Request - PS to extract "merge time" from job
If I'm not mistaken, it should be reflected in Backup Session entity. You can query its GetLog() method and get bunch of string entities. Then, you should filter them out to get the one related to merge process.
The code should look similar to the following one:
Otherwise, parse actual log file and get information directly from it.
Thanks.
The code should look similar to the following one:
Code: Select all
$LastSession = (Get-VBRJob -Name "Backup Job 1").FindLastSession()
$LastSession.Logger.GetLog().UpdatedRecords | where {$_.Title -eq "*Merg"} | select Title, StartTime, UpdateTime, Status
Thanks.
Who is online
Users browsing this forum: No registered users and 10 guests