Skip to main content

Hi!

I need to select in Powershell all backup jobs that do not have a backup copy associated yet.

They are vCloud backup jobs.

The complete task, just to give you a better understanding, involves checking if every backup job on a pre-filled list (not all backup jobs are on the list) has a backup copy.

I’m looking for a properties  or anything else you could suggest.

 

Thanks in advance

 

Hello,
I don’t have cloud copy jobs, but I think this will be similar for them as for the VM or BackupJob copy jobs…

I don’t see the copy jobs in the Backup Jobs, but I can list the source Backup Jobs in the copy jobs. So you can create a list of all backup jobs that are copied by copy jobs. and the compare this list with your list of backup jobs….

 

$job= Get-VBRJob -name “CopyJob Name”

$workerJobs = $job.GetWorkerJobs()

foreach ($workerJob in $workerJobs) {  

   $workerJob.TargetFile

}

 


Hello,
I don’t have cloud copy jobs, but I think this will be similar for them as for the VM or BackupJob copy jobs…

I don’t see the copy jobs in the Backup Jobs, but I can list the source Backup Jobs in the copy jobs. So you can create a list of all backup jobs that are copied by copy jobs. and the compare this list with your list of backup jobs….

 

$job= Get-VBRJob -name “CopyJob Name” $workerJobs = $job.GetWorkerJobs() foreach ($workerJob in $workerJobs) {      $workerJob.TargetFile }

 

oh, very useful !!!


Hello,
I don’t have cloud copy jobs, but I think this will be similar for them as for the VM or BackupJob copy jobs…

I don’t see the copy jobs in the Backup Jobs, but I can list the source Backup Jobs in the copy jobs. So you can create a list of all backup jobs that are copied by copy jobs. and the compare this list with your list of backup jobs….

 

$job= Get-VBRJob -name “CopyJob Name” $workerJobs = $job.GetWorkerJobs() foreach ($workerJob in $workerJobs) {      $workerJob.TargetFile }

 


Thanks!

I’ll give it a try!


Comment