PowerShell script exchange
Post Reply
aklockmann
Service Provider
Posts: 3
Liked: never
Joined: Feb 25, 2025 9:39 am
Contact:

New-VBRFileRestoreLinuxHelperApplianceOptions irgnored

Post by aklockmann »

Hi,

I try to write script which should set the VBRFileRestoreLinuxHelperApplianceOptions to an active ESX (not in maintenance) to fix a FLR vCloud Director integration issues.
It looks like setting these options via powershell is ignored by guest file restore wizard. The parameter is unchanged.
Any hint? I'm using Veeam 12.3.1.1139.
david.domask
Veeam Software
Posts: 2607
Liked: 610 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: New-VBRFileRestoreLinuxHelperApplianceOptions irgnored

Post by david.domask »

Hi aklockmann,

Can you provide an example of your script and which parameters you were trying to set that didn't take? Having a bit of trouble understanding where your issue is, so a copy of your code + screenshots of what's not working would be much appreciated.
David Domask | Product Management: Principal Analyst
aklockmann
Service Provider
Posts: 3
Liked: never
Joined: Feb 25, 2025 9:39 am
Contact:

Re: New-VBRFileRestoreLinuxHelperApplianceOptions irgnored

Post by aklockmann »

sure...This is a short version.

Code: Select all

# Get esx
$vbresx= Get-VBRServer -name esx1
# Get correct backup net
$vbrnet=Get-VBRViServerNetworkInfo -Server $vbresx |Where-Object {$_.Name -imatch "APortGroupName"}
#  Get a ressourcepool
$rpool=Find-VBRViResourcePool -Server $vbresx| Where-Object {$_.Name -imatch "AresourcepoolName" }

New-VBRFileRestoreLinuxHelperApplianceOptions -Server $vbresx -NetworkInfo $vbrnet -ResourcePool $rpool
david.domask
Veeam Software
Posts: 2607
Liked: 610 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: New-VBRFileRestoreLinuxHelperApplianceOptions irgnored

Post by david.domask »

Just to be clear, are you trying to configure File Level Restore (FLR) from CDP replicas or from regular VM backups?

New-VBRFileRestoreLinuxHelperApplianceOptions is only called for Start-VBRCDPLinuxFileRestore, it's not needed for normal FLRs. If you want to use the temporary helper appliance with a custom network, you would so something like:

$server = Get-VBRServer -Name "some esxi host"
$network = Get-VBRViServerNetworkInfo -Server $server | Where-Object {$_.Name -eq "network name"} #Don't use imatch btw, that uses regular expression rules to validate so if you likely would need to escape some names for it to work correctly. Use -eq or -like with wildcards
$resPool = Find-VBRViResourcePool -Server $server -Name "Name of resource pool"
$rp = Get-VBRRestorePoint -Name "Name of restore point"
Start-VBRLinuxFileRestore -RestorePoint $rp[0] -Server $server -ResourcePool $resPool -NetworkInfo $network

Veeam will deploy an appliance using the $network properties you set and other parameters on Start-VBRLinuxFileRestore. You may need the -Credentials parameter depending on the source repository type, but if you're not looking to do FLR from CDP, then you don't need the cmdlet above.
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests