Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
nikoonline
Novice
Posts: 4
Liked: 1 time
Joined: Feb 04, 2023 12:55 pm
Contact:

Feature Request: Media recovery on upgrade

Post by nikoonline »

Hi,

I’ve noticed that with each software update, a new recovery media creation request is required. It would be beneficial to allow this process to run automatically (with confirmation on configuration) directly to the backup repository.

This feature would be especially useful for remote updates (via VSPC) or when managing a large number of devices across an IT infrastructure.

sincerely
MoritzG-Seidemann
Service Provider
Posts: 12
Liked: 2 times
Joined: Nov 14, 2023 3:18 pm
Full Name: Moritz Gische
Contact:

Re: Feature Request: Media recovery on upgrade

Post by MoritzG-Seidemann »

Made a powershell script to handle that.

Code: Select all

$VeeamPath = "$env:ProgramFiles\Veeam\Endpoint Backup\Veeam.EndPoint.Manager.exe"
$workingDir = "C:\RecoveryISO"
$log = "$workingDir\VeeamISORecovery.log"
$computername = Get-Content env:computername
$date = Get-Date -Format "yyyyMMddHHmm"
Set-Alias Start-Program $VeeamPath
$filename = "VeeamRecoveryMedia_$($date)_$($computername).iso"
$logMessage = Write-Output "$(Get-TimeStamp) Die Recovery ISO wird mit dem Namen '$filename' erstellt"
Add-Content -Path $log $logMessage
Start-Program /createrecoverymediaiso /f:C:\RecoveryISO\$filename
$exitCode = $LASTEXITCODE
That get's executed when the an upgrade-event occurs:

Code: Select all

<QueryList>
	<Query Id="0" Path="Veeam Agent">
		<Select Path="Veeam Agent">
			*[System[(EventID=23502)]]
		</Select>
	</Query>
</QueryList>
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 12 guests