Am I correct in thinking, the only way to get the Copy job information in the primary backup is to scan through all of the Copy jobs. There's no method or property that holds the info within the primary job?
Cheers, Rob.
-
- Expert
- Posts: 111
- Liked: 16 times
- Joined: Dec 10, 2018 10:59 am
- Full Name: Robert Atkinson
- Contact:
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Accessing 'Secondary Job' Information
You can get this info, just not with the methods CBackupJob class instance has. You have to go to the static ones:
Thanks!
Code: Select all
$job = Get-VBRJob -Name 'Backup Job 1'
$secondaryJobs = [Veeam.Backup.Core.CBackupJob]::GetSecondDestinationJobs($job.Id)
$secondaryJobs
Who is online
Users browsing this forum: No registered users and 4 guests