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>]
-
OptionsSet-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
|
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:
Note: To disable this option, set the parameter value to |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
MountFolder |
Specifies the folder to keep cache that is created during mount operations. |
|
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: |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
MountServer |
Specifies the server that you want to use as a default Linux mount server.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Options |
Specifies mount server settings.
Accepts the |
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: |
|
False |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
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:
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$linux_mountvariable. - Run the
Set-VBRDefaultLinuxMountServercmdlet. Set the$linux_mountvariable as theMountServerparameter value. Specify theMountFolderparameter value. Provide theEnableVPowerNFSparameter.
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.Get-VBRRepositoryMountServerOptionsReturns settings of a mount server associated with a backup repository.