Comprehensive data protection for all workloads
Post Reply
ryan1cf
Service Provider
Posts: 26
Liked: 3 times
Joined: Apr 19, 2017 3:47 pm
Full Name: Ryan Faulkner
Contact:

Mass updating Veeam to latest version

Post by ryan1cf »

Hello,

Has anyone ever automated the update of Veeam 9 to the latest update? I asked support if there were powershell commands for pausing the backups, running the setup.exe silently then resuming jobs after but there appear to be no methods to do this known to them.

Thanks,
Ryan
Mike Resseler
Product Manager
Posts: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Mass updating Veeam to latest version

Post by Mike Resseler »

Hi Ryan,

To disable the jobs, you could use these:

Code: Select all

Get-VBRJob -Name "Job 01", "Job 02" | Disable-VBRJob
The syntax (and order) to deploy B&R in silence is described here: https://helpcenter.veeam.com/docs/backu ... tml?ver=95

And then finally, you need to reverse the jobs to enable so:

Code: Select all

Get-VBRJob -Name "Job 01", "Job 02" | Enable-VBRJob
I haven't done it myself yet the way, but the above should get you going I believe

Let me know
Mike
veremin
Product Manager
Posts: 20413
Liked: 2301 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Mass updating Veeam to latest version

Post by veremin »

Be aware that update setup checks whether there are no open PowerShell instances before proceeding to installation. So, you have to disable jobs and silently install updates within different processes - say, PS and command line.

Thanks.
ryan1cf
Service Provider
Posts: 26
Liked: 3 times
Joined: Apr 19, 2017 3:47 pm
Full Name: Ryan Faulkner
Contact:

Re: Mass updating Veeam to latest version

Post by ryan1cf »

Well I tried and failed then I found this here : https://helpcenter.veeam.com/docs/backu ... tml?ver=95

Unattended Upgrade

Veeam Backup & Replication does not support product upgrade in the unattended mode. However, you can:

Uninstall the previous version of the product.
Install a newer version of the product in the unattended mode. You must connect to the configuration database that was used by the previous product version.

Makes mass upgrading a little more complicated. I did try upgrading via the msi's but got hung up on upgrading the console, so probably best to do a full uninstall then install in unattended mode but the challenge would be making sure the configuration database's are all named the same, I'm pretty sure our's are but would need to do some testing.
quinnvanorder
Influencer
Posts: 15
Liked: 16 times
Joined: Jan 31, 2019 2:25 am
Full Name: Quinn Van Order
Location: Seattle WA
Contact:

Re: Mass updating Veeam to latest version

Post by quinnvanorder » 1 person likes this post

Way late to the party, but for posterity / those who have found this thread on google, its possible!
Automate all the things!
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 107 guests