PowerShell script exchange
Post Reply
adam.paradis
Novice
Posts: 8
Liked: never
Joined: Jan 27, 2021 8:33 pm
Full Name: Adam Paradis
Contact:

Sanintegrationoptions Properties Missing

Post by adam.paradis »

I've just noticed that several properties under (Get-VBRJob).Options.Sanintegrationoptions are no longer available.

SanSnapshotBackupBackupSource (Use the secondary storage snapshot for backup job processing)

SanSnapshotSourceRetention (How many storage snapshots to retain on primary storage)

SanSnapshotBackupTransferRetention (How many storage snapshots to retain on secondary storage)

I've looked through everything listed under job options but I don't see that it's been relocated.

I've also checked the API reference and they no longer show up there either. https://helpcenter.veeam.com/docs/backu ... t=response

Does anyone know if this is an intentional change or maybe just an oversight? Hopefully the latter because I have many jobs and being able to check and/or change these values this way really saves a lot of time.

Thanks.
oleg.feoktistov
Veeam Software
Posts: 2028
Liked: 675 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Sanintegrationoptions Properties Missing

Post by oleg.feoktistov »

Hi Adam,

This has been an intentional change due to core logic amendments. New options are located in SanFeaturesByJob and SanFeatures tables and you can get them using this workaround:

Code: Select all

$job = Get-VBRJob -Name "Backup job 1"
$sanFeaturesByJob = [Veeam.Backup.DBManager.CDBManager]::Instance.SanFeaturesByJob,FindByJobId($job.Id)
$sanFeaturesByJob
$sanFeatures = [Veeam.Backup.DBManager.CDBManager]::Instance.SanFeatures.Find($sanFeaturesByJob.FeatureId)
$sanFeatures
Best regards,
Oleg
adam.paradis
Novice
Posts: 8
Liked: never
Joined: Jan 27, 2021 8:33 pm
Full Name: Adam Paradis
Contact:

Re: Sanintegrationoptions Properties Missing

Post by adam.paradis »

Great, thank you for the update.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests