failover to standard backup

PowerShell script exchange

failover to standard backup

Veeam Logoby MarcinS » Mon 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
MarcinS
Influencer
 
Posts: 21
Liked: 2 times
Joined: Mon May 18, 2015 8:31 am

Re: failover to standard backup

Veeam Logoby v.Eremin » Mon 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.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: failover to standard backup

Veeam Logoby MarcinS » Mon May 18, 2015 9:31 am 1 person likes this post

i think i found by myself :)

.SanIntegrationOptions >> UseSanSnapshots & FailoverFromSan
MarcinS
Influencer
 
Posts: 21
Liked: 2 times
Joined: Mon May 18, 2015 8:31 am

Re: failover to standard backup

Veeam Logoby MarcinS » Mon May 18, 2015 9:33 am

hehe i see that i was slower :) but found good options :) ...thx v.Eremin
MarcinS
Influencer
 
Posts: 21
Liked: 2 times
Joined: Mon May 18, 2015 8:31 am

Re: failover to standard backup

Veeam Logoby v.Eremin » Mon May 18, 2015 9:35 am

Veeam is all about speed, you know. :)

Anyway, glad to hear that you've nailed it.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 5 guests