Set-VBRDefaultLinuxMountServer

Short Description

Modifies the default Linux mount server.

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides the following parameter sets:

  • Default (Default)

    Set-VBRDefaultLinuxMountServer -MountServer <CHost> -MountFolder <String> [-MountPort <Int32>]

    [-EnableVPowerNFS] [-VPowerNFSPort <Int32>] [<CommonParameters>]

  • Options

    Set-VBRDefaultLinuxMountServer -Options <VBRRepositoryMountServerOptions> [<CommonParameters>]

Detailed Description

This cmdlet modifies the default Linux mount server and its settings.

Note

To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

EnableVPowerNFS

Enables the Veeam vPower NFS Service on the default mount server. If you enable this option, Veeam vPower NFS Service will be be able to access the backup repository.

Default: True.

Note: To disable this option, set the parameter value to $false. That is, parameter_name:$false.

SwitchParameter

False

Named

True (ByPropertyName, ByValue)

MountFolder

Specifies the folder to keep cache that is created during mount operations.

String

True

Named

True (ByPropertyName, ByValue)

MountPort

Specifies the port that the Veeam vPower NFS Service will use to mount the vPower NFS datastore to the ESXi host.

Default: 1058.

Int32

False

Named

True (ByPropertyName, ByValue)

MountServer

Specifies the server that you want to use as a default Linux mount server.

Accepts the CHost object. To get this object, run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet.

CHost

True

Named

True (ByPropertyName, ByValue)

Options

Specifies mount server settings.

Accepts the VBRRepositoryMountServerOptions object. To get this object, run the New-VBRRepositoryMountServerOptionsDefines settings of a mount server. cmdlet.

VBRRepositoryMountServerOptions

True

Named

True (ByPropertyName, ByValue)

VPowerNFSPort

Specifies the port that the Veeam vPower NFS Service will use to connect to the target NFS share.

Default: 2049.

Int32

False

Named

True (ByPropertyName, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRDefaultLinuxMountServer

Examples

Configuring Default Linux Mount Server

This example shows how to configure the default Linux mount server.

$linux_mount = Get-VBRServer -Name "linuxsrv.tech.local"

Set-VBRDefaultLinuxMountServer -MountServer $linux_mount -MountFolder "/var/lib/veeamdata/veeam/IRCache/" -EnableVPowerNFS

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Name parameter value. Save the result to the $linux_mount variable.
  2. Run the Set-VBRDefaultLinuxMountServer cmdlet. Set the $linux_mount variable as the MountServer parameter value. Specify the MountFolder parameter value. Provide the EnableVPowerNFS parameter.

Page updated 2026-08-19

Page content applies to build 13.1.1.18