-
- Influencer
- Posts: 11
- Liked: 1 time
- Joined: Oct 11, 2011 2:16 pm
- Full Name: Terence Kolstad
- Contact:
Modify App Group tied to SureBackup job
I'm going through SureBackup testing to get the right timeouts for a customer. I'd like to be able to do this in PowerShell so I don't have to open every server in the App group and make the changes. The User Guide has been less than helpful and when I opened a ticket, I was told that they can't assist with this.
This is what I was working with:
$startup = New-VBRApplicationGroupStartupOptions -MaximumBootTime 2400 -ApplicationInitializationTimeout 360 -AllocatedMemory 80 -HeartbeatCheck
Set-VBRSureBackupStartupOptions -Options $startup
This is what I was working with:
$startup = New-VBRApplicationGroupStartupOptions -MaximumBootTime 2400 -ApplicationInitializationTimeout 360 -AllocatedMemory 80 -HeartbeatCheck
Set-VBRSureBackupStartupOptions -Options $startup
-
- Product Manager
- Posts: 10086
- Liked: 2688 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Modify App Group tied to SureBackup job
Hi Tkolstad
Correct, support won't be able to help with custom scripting.
As documented in the user guide, this cmdlet is only used for staged restores. It doesn't configure application group settings for a sure backup job.
I will ask one of my colleagues if we have any unofficial methods for PowerShell to set the options you are looking for.
Best,
Fabian
Correct, support won't be able to help with custom scripting.
As documented in the user guide, this cmdlet is only used for staged restores. It doesn't configure application group settings for a sure backup job.
I will ask one of my colleagues if we have any unofficial methods for PowerShell to set the options you are looking for.
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Veeam Software
- Posts: 2331
- Liked: 554 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Modify App Group tied to SureBackup job
Hi @tkolstad, Fabian is correct, those are for staged restores. You will need to write a function to do this process from the User Guide; in v12, you set all this on the New-SureBackupVM object and add those to application groups, or you edit the start-up options on the Surebackup job for linked jobs.
https://helpcenter.veeam.com/docs/backu ... ml?ver=120
Here's a quick shell walk through of what I did:
1. Get the VM CObjectInJob object with Get-VBRJob and Get-VBRJobObject:
2. Set your Startup Options with New-VBRSureBackupStartupOptions:
3. Make a new VBRSurebackup VM Object:
4. Set your application group with Set-VBRApplicationGroup: #Important! The -VM flag will _overwrite_ the existing added VMs to the appgroup, so you will need to re-add all the VMs to the app group
The end result should be something like this:

Play with it in your lab and once you get the workflow, I recommend write a function to create/add these. You will basically build an array of New-SureBackupVM objects to pass to Set-VBRApplicationGroup on the -VM flag.
https://helpcenter.veeam.com/docs/backu ... ml?ver=120
Here's a quick shell walk through of what I did:
1. Get the VM CObjectInJob object with Get-VBRJob and Get-VBRJobObject:
Code: Select all
PS C:\Users\Administrator> $job = Get-VBRJob -name 'vmware-ffi-cap-bb'
PS C:\Users\Administrator> $Objs = Get-VBRJobObject -Job $job
PS C:\Users\Administrator> $Objs
Name Type ApproxSize Location
---- ---- ---------- --------
ddom-tinyvm Include 0 B some-vcenter.local...
Code: Select all
$StartOpts = New-VBRSureBackupStartupOptions -AllocatedMemory 50 -EnableVMHeartbeatCheck -MaximumBootTime 5400 -ApplicationInitializationTimeout 5000 -EnableVMPingCheck:$false -DisableWindowsFirewall
Code: Select all
$VerOpts = New-VBRSureBackupVM -VM $Objs -Role DomainControllerNonAuthoritative -StartupOptions $StartOpts
Code: Select all
Set-VBRApplicationGroup -ApplicationGroup $appg -VM $VerOpts

Play with it in your lab and once you get the workflow, I recommend write a function to create/add these. You will basically build an array of New-SureBackupVM objects to pass to Set-VBRApplicationGroup on the -VM flag.
David Domask | Product Management: Principal Analyst
-
- Influencer
- Posts: 11
- Liked: 1 time
- Joined: Oct 11, 2011 2:16 pm
- Full Name: Terence Kolstad
- Contact:
Re: Modify App Group tied to SureBackup job
Thank you all for the feedback. I'll work to test that out!
-
- Veeam Software
- Posts: 2015
- Liked: 671 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Modify App Group tied to SureBackup job
Hi,
I asked our technical writers to move New-VBRApplicationGroupStartupOptions and Set-VBRApplicationGroupStartupOptions out of SureBackup section of the User Guide lest to confuse anybody as these cmdlets are not directly related to SureBackup.
Best regards,
Oleg
I asked our technical writers to move New-VBRApplicationGroupStartupOptions and Set-VBRApplicationGroupStartupOptions out of SureBackup section of the User Guide lest to confuse anybody as these cmdlets are not directly related to SureBackup.
Best regards,
Oleg
Who is online
Users browsing this forum: No registered users and 22 guests