Set-VBRNDMPServer
Short Description
Modifies NDMP server settings.
Product Edition: Enterprise
Requires Cloud Connect license
Syntax
|
Set-VBRNDMPServer -Server <VBRNDMPServer> [-Name <String>] [-Port <Int32>] [-Credentials <CCredentials>] [-GatewayMode <VBRGatewayMode>] [-SelectedGateway <CHost>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of a selected NDMP server.
To modify a NetApp NDMP server, use the Set-VBRNetAppNDMPServerModifies a NetApp NDMP server. cmdlet.
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 |
|---|---|---|---|---|---|
|
Credentials |
Specifies the credentials. Veeam Backup & Replication will use these credentials to connect to the NDMP server.
Accepts the |
|
False |
Named |
False |
|
GatewayMode |
Specifies the gateway server. Veeam Backup & Replication will use this gateway server to connect to the NDMP server. You can specify the following modes of selecting the gateway server:
|
|
False |
Named |
False |
|
Name |
Specifies the DNS or IP address of the NDMP server that you want to modify. |
|
False |
Named |
False |
|
Port |
Specifies the port. Veeam Backup & Replication will use that port to connect to the NDMP server. |
|
False |
Named |
False |
|
SelectedGateway |
For specifying a particular gateway server with the Specifies the server that you want to use as the gateway server.
Accepts the |
|
False |
Named |
False |
|
Server |
Specifies the NDMP server that you want to modify.
Accepts the |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRNDMPServer object that contains information about the modified NDMP server.
Examples
Changing Gateway Server Selection for NDMP Server
This command shows how to change the gateway server selection mode for an NDMP server. Veeam Backup & Replication will use a specific gateway server.
|
$ndmp = Get-VBRNDMPServer -Name "NetApp.tech.local" $gateway = Get-VBRServer -Name "Gateway server" $creds = Get-VBRCredentials -Name "GatewayServer" Set-VBRNDMPServer -Name "NetApp.tech.local" -Credentials $creds -GatewayMode SelectedGateway -SelectedGateway $gateway -Port 10000 |
Perform the following steps:
- Run the
Get-VBRNDMPServerReturns NDMP servers. cmdlet. Specify theNameparameter value. Save the result to the$ndmpvariable. - Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter. Save the result to the$gatewayvariable. - Run the
Get-VBRCredentialsReturns credentials records. cmdlet. Specify theNameparameter value. Save the result to the$credsvariable. - Run the
Set-VBRNDMPServercmdlet. Specify the following settings:- Specify the
Nameparameter value. - Set the
$credsvariable as theCredentialsparameter value. - Set the
SelectedGatewayoption for theGatewayModeparameter. - Set the
$gatewayvariable as theSelectedGatewayparameter value. - Specify the
Portparameter value.
- Specify the
Related Commands
Get-VBRNDMPServerReturns NDMP servers.Get-VBRCredentialsReturns credentials records.Get-VBRServerReturns hosts connected to the backup infrastructure.