PowerShell script exchange
Post Reply
matteu
Veeam Legend
Posts: 821
Liked: 128 times
Joined: May 11, 2018 8:42 am
Contact:

Get-VBRNASBackupJob secondary target

Post by matteu » 1 person likes this post

Hello,

I would like to audit the secondary target for my NAS job but I don't understand what the attribute SecondaryTargetEnabled is for ?

I wand to know if secondary target is used or not in the job.
$job=Get-VBRNASBackupJob -name "XXX"
$job.SecondaryTargetEnabled

The return value is always $true with or without secondary target.

Is it expected ?

My only way here to know if I have or not secondary destination used is to detect if there is or not an object in the attribute SecondaryTarget
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Get-VBRNASBackupJob secondary target

Post by oleg.feoktistov » 1 person likes this post

Hi matteu,

No, this is not expected. Confirmed with QA as a bug, to be fixed in vNext.

Thanks for your feedback and Best regards,
Oleg
matteu
Veeam Legend
Posts: 821
Liked: 128 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Get-VBRNASBackupJob secondary target

Post by matteu »

Thanks for your feedback.
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests