Help Center
Choose product document...
Veeam Backup & Replication 9.5 [Archived]
PowerShell Reference

Add-NetAppHost

Short Description

Adds NetApp storage systems to Veeam Backup & Replication.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

This cmdlet provides 2 parameter sets.

  • For authenticating with the storage using user name and password:

Add-NetAppHost -Name <string> -UserName <string> -Password <string> [-Description <string>] [-IsHTTP <bool>] [-Port <int>] [-Proxy <IProxy[]>] [-iSCSI] [-NFS] [-FibreChannel]  [<CommonParameters>]

  • For authenticating with the storage using credentials:

Add-NetAppHost -Name <string> -Credentials <CCredentials> [-Description <string>] [-IsHTTP <bool>] [-Port <int>] [-Proxy <IProxy[]>] [-iSCSI] [-NFS] [-FibreChannel]  [<CommonParameters>]

Detailed Description

This cmdlet adds a selected NetApp storage to Veeam Backup & Replication.

When adding a storage, you will need to provide either user name and password or credentials. Use an appropriate parameter set for each case.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies the storage IP address or DNS name.

True

Named

False

False

Description

Specifies the description of the storage.

False

Named

False

False

UserName

Specifies the user name you want to use for authenticating with the storage.

True

Named

False

False

Password

Specifies the password you want to use for authenticating with the storage.

True

Named

False

False

IsHTTP

If set to TRUE, HTTP protocol will be used to connect to the NetApp storage. Otherwise, HTTPS protocol will be selected. By default, HTTPS is used.

False

Named

False

False

Port

Sets a port used to connect to the NetApp storage. By default, port 443 is used.

False

Named

False

False

Credentials

Specifies the credentials you want to use for authenticating with the storage.

True

Named

False

False

Proxy

Specifies the array of proxies you want to use with this storage.

If set, Veeam Backup & Replication will use the selected proxies. If not set, Veeam Backup & Replication will use automatic proxy selection.

False

Named

False

False

iSCSI

Indicates that the storage works over iSCSI protocol.

False

Named

False

False

NFS

Indicates that the storage works over NFS protocol.

False

Named

False

False

FibreChannel

Indicates that the storage works over FibreChannel protocol.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example

This example shows how to add the NetApp storage to the backup infrastructure using credentials.

You will need to perform the following steps:

  1. Run Get-VBRCredentials to get a credentials record for the storage. Save the result to the $credentials variable.
  2. Run Get-VBRViProxy to get a backup proxy that will be used for storage rescan and Backup from Storage Snapshots. Save the result to the $proxy variable.
  3. Run Add-NetAppHost with the $credentials and $proxy variables.

PS C:\PS> $credentials = Get-VBRCredentials -Name "NetApp Administrator"

PS C:\PS> $proxy = Get-VBRViProxy -Name 167.16.21.25

PS C:\PS> Add-NetAppHost -Name 167.16.2.134 -Credentials $credentials -Proxy $proxy -Description "NetApp Storage"

Related Commands

Get-VBRCredentials

Get-VBRViProxy

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide