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

Mass updating Veeam to latest version

Post by ryan1cf » Apr 26, 2017 10:21 pm

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: 5729
Liked: 609 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 » Apr 27, 2017 5:16 am

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: 16884
Liked: 1433 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Mass updating Veeam to latest version

Post by veremin » Apr 27, 2017 9:28 am

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: 10
Liked: never
Joined: Apr 19, 2017 3:47 pm
Full Name: Ryan Faulkner
Contact:

Re: Mass updating Veeam to latest version

Post by ryan1cf » Apr 27, 2017 4:52 pm

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: 15 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 » Feb 01, 2019 8:46 pm 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], conrad.stephens, FrancWest, Google [Bot], StefanZ, vdisman and 65 guests