New-VBRRepositoryMountServerOptions
Short Description
Defines settings of a mount server used for object storage repositories.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRRepositoryMountServerOptions [-MountServer <CHost>] [-EnableVPowerNFS] [-VPowerNFSPort <int>] [-MountPort <int>] [-MountFolder <string>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRRepositoryMountServerOptions object. This object contains settings of a mount server that you can use for object storage repositories.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
MountServer | Specifies a server that you want to use as a mount server. The cmdlet will apply settings to this server. Note: If you do not specify this parameter, the cmdlet will apply settings to the backup server. | Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet. | False | Named | False |
EnableVPowerNFS | Enables the Veeam vPower NFS Service on the mount server. If you enable this option, Veeam vPower NFS Service will be able to access the object storage repository. Default: True. Note: To disable this option, set the parameter value to $false. That is, parameter_name:$false. | SwitchParameter | False | Named | False |
VPowerNFSPort | Specifies the port that the Veeam vPower NFS Service will use to connect to the target NFS share. Default: 2049. | Int | False | Named | False |
MountPort | Specifies the port that the Veeam vPower NFS Service will use to mount the vPower NFS datastore to the ESXi host. Default: 1058. | Int | False | Named | False |
MountFolder | Specifies a folder to keep cache that is created during mount operations. | String | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRRepositoryMountServerOptions
Examples
Example 1. Defining Settings for Default Mount Server
This command defines settings for a backup server that Veeam Backup & Replication will use as the mount server. Save the result to a variable to use with other cmdlets.
|
Example 2. Defining Settings for Specific Mount Server
This example shows how to define settings for the WinSrv2047 mount server.
Perform the following steps:
Save the result to the $mountoptions variable to use with other cmdlets. |
Example 3. Disabling Veeam PowerNFS Settings for Specific Mount Server
This example shows how to define settings for the WinSrv2047 mount server. The Veeam PowerNFS option will be disabled.
Perform the following steps:
Save the result to the $mountoptions variable to use with other cmdlets. |
Related Commands