Hi Oleg, thank you for your response. I moved on a little since yesterday. For v11 I group restore points by:This works very well for v11 restore points created by backup jobs and backup copy jobs since it returns a "first job run" creation time.
For v12 backup jobs I figured out I can use:This also returns a "first job run" creation time. Now I'm looking into v12 backup copy jobs. They run worker jobs for each source backup job in parallel. What I can get is a list of all worker backup copy jobs but what I need is the parent backup copy job that started them. I think I discovered a bug:... returns just the last backup copy job session, I expect it should return all of them. Then I could probably use a creation time from this session object.
I know I'm just tinkering around but you have means to show me the official way.
Code:
$<RestorePoint>.GetPoint().CreationTimeFor v12 backup jobs I figured out I can use:
Code:
(Get-VBRSession -Id $<RestorePoint>.JobRunId).CreationTimeCode:
Get-VBRSession -Job (Get-VBRJob -Name "A Backup Copy Job")I know I'm just tinkering around but you have means to show me the official way.
Statistics: Posted by GregorS — Aug 29, 2024 12:43 pm







