This is an archive version of the document. To get the most up-to-date information, see the current version.

Add-VBRNDMPServer

Short Description

Adds NDMP servers to Veeam Backup & Replication.

Applies to

Product Edition: Enterprise

Requires Cloud Connect license

Syntax

Add-VBRNDMPServer -Name <string> -Port <int> -Credentials <CCredentials> -GatewayMode <VBRGatewayMode> {Automatic| SelectedGateway} [-SelectedGateway <CHost>] [<CommonParameters>]

Detailed Description

This cmdlet adds NDMP servers to Veeam Backup & Replication.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies the DNS or IP of an NDMP server that you want to add to Veeam Backup & Replication.

True

Named

False

False

Port

Specifies the port. Veeam Backup & Replication will use that port to connect to an NDMP server.

True

Named

False

False

Credentials

Specifies the credentials. Veeam Backup & Replication will use these credentials to connect to an NDMP server.

Accepts the CCredentials type.

True

Named

False

False

GatewayMode

Specifies a gateway server. Veeam Backup & Replication will use this gateway server to connect to the NDMP server.

You can select the following modes of selecting the gateway server:

  • Automatic - use this option if you want Veeam Backup & Replication to choose the gateway server automatically.
  • SelectedGateway - use this option if you want to specify the gateway server explicitly.
    Use the SelectedGateway parameter to specify the gateway server.

True

Named

False

False

SelectedGateway

For specifying a gateway server explicitly with the SelectedGateway option.

Specifies the server that you want to use as the gateway server.

Accepts the CHost type.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

Example 1

This example shows how to add an NDMP server to Veeam Backup & Replication. Veeam Backup & Replication will select the gateway server automatically.

  1. Run Add-VBRCredentials to set up the credentials for the NDMP server. Save the result to the $creds variable.
  2. Run Add-VBRNDMPServer with the $creds variable. Specify the Automatic option for the GatewayMode parameter to set Veeam Backup & Replication use the the gateway server automatically.

$creds = Add-VBRCredentials -User "New NDMP" -Password "Password"

Add-VBRNDMPServer -Name "NetApp.tech.local" -Credentials $creds -GatewayMode Automatic -Port 10000

Example 2

This example shows how to add an NDMP server to Veeam Backup & Replication. Veeam Backup & Replication will use selected server as the gateway server.

  1. Run Add-VBRCredentials to set up credentials of the NDMP server into the Veeam Backup & Replication infrastructure. Save the result to the $creds variable.
  2. Run Get-VBRServer to get the server that you want to use as the gateway server. Save the result to the $gateway variable.
  3. Run Add-VBRNDMPServer with the $creds variable. Specify the SelectedGateway option for the GatewayMode parameter to use the specified gateway server.

$creds = Add-VBRCredentials -User "New NDMP" -Password "Password"

$gateway = Get-VBRServer  -Name "Gateway server"

Add-VBRNDMPServer -Name "NDMPv4 Storage" -Port 1000 -Credentials <CCredentials> -GatewayMode SelectedGateway -SelectedGateway $gateway

Related Commands

Add-VBRCredentials

Get-VBRServer