PowerShell script exchange
Post Reply
MarcinS
Enthusiast
Posts: 29
Liked: 2 times
Joined: May 18, 2015 8:31 am
Contact:

failover to standard backup

Post by MarcinS » May 18, 2015 8:58 am

Hi Guys,

i try to make script to enumerate through all backup/replica jobs and deselect/uncheck "failover to standard backup" on "storage integration" tab inside Advanced option for Storage. I have no problem with script it self but have problem where to find that option . Please help

Marcin

veremin
Product Manager
Posts: 17154
Liked: 1485 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: failover to standard backup

Post by veremin » May 18, 2015 9:30 am

Hi, Marcin,

Try the following example:

Code: Select all

asnp VeeamPSSNapin
$Job = Get-VBRJob -Name "Name of your backup job"
$Options = $Job.GetOptions()
$Options.SanIntegrationOptions.FailoverFromSan = either $True or $False
$Job.SetOptions($Options)
Thanks.

MarcinS
Enthusiast
Posts: 29
Liked: 2 times
Joined: May 18, 2015 8:31 am
Contact:

Re: failover to standard backup

Post by MarcinS » May 18, 2015 9:31 am 1 person likes this post

i think i found by myself :)

.SanIntegrationOptions >> UseSanSnapshots & FailoverFromSan

MarcinS
Enthusiast
Posts: 29
Liked: 2 times
Joined: May 18, 2015 8:31 am
Contact:

Re: failover to standard backup

Post by MarcinS » May 18, 2015 9:33 am

hehe i see that i was slower :) but found good options :) ...thx v.Eremin

veremin
Product Manager
Posts: 17154
Liked: 1485 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: failover to standard backup

Post by veremin » May 18, 2015 9:35 am

Veeam is all about speed, you know. :)

Anyway, glad to hear that you've nailed it.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests