Add-NetAppSnapshot

Short Description

Creates NetApp storage snapshots.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-NetAppSnapshot -Volume <CSanVolume> [-Name <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>]  [<CommonParameters>]

Detailed Description

This cmdlet creates a snapshot of a selected NetApp storage volume.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Volume

Specifies the storage volume for which you want to take snapshot.

Accepts the CSanVolume object. To get this object, run the Get-NetAppVolume cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

Name

Specifies the name you want to assign to the snapshot.

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Creating Snapshot of Specific Volume

This example shows how to create a snapshot of the Vol 01 volume.

$apphost = Get-NetAppHost -Name "NetApp Store"

Get-NetAppVolume -Host $apphost -Name "Vol 01" | Add-NetAppSnapshot -Name "vol_SS_01"

Perform the following steps:

  1. Run the Get-NetAppHost cmdlet. Specify the Name parameter value. Save the result to the $apphost variable.
  2. Run the Get-NetAppVolume cmdlet. Set the $apphost variable as the Host parameter value. Specify the Name parameter value.
  3. Pipe the cmdlet output to the Add-NetAppSnapshot cmdlet. Specify the Name parameter value.

Related Commands

Get-NetAppVolume

Page updated 2/16/2024

Page content applies to build 12.1.1.56