|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Add-NcSnapmirrorSnapshotOwner
NAME
Add-NcSnapmirrorSnapshotOwner
SYNOPSIS
Add an owner to preserve a Snapshot copy for a SnapMirror mirror-to-vault ca
scade configuration.
SYNTAX
Add-NcSnapmirrorSnapshotOwner [-Vserver] <String> [-Volume] <String> [-Snaps
hot] <String> [-Owner <String>] [-Controller <NcController[]>] [<CommonParam
eters>]
DESCRIPTION
Add an owner to preserve a Snapshot copy for a SnapMirror mirror-to-vault ca
scade configuration.
PARAMETERS
-Vserver <String>
Vserver name.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Volume <String>
Volume name.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Snapshot <String>
Snapshot copy name.
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Owner <String>
Specifies the name of the owner to preserve a Snapshot copy for a SnapMi
rror mirror-to-vault cascade configuration. An owner can contain letters
, numbers, and the underscore character (_), and can be at most 32 chara
cters long. If no owner is specified, the system will assign an internal
default owner to preserve the Snapshot copy.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.C.Types.Snapmirror.SnapshotOwner
NOTES
Category: snapmirror
API: snapmirror-snapshot-owner-create
Family: vserver
-------------- Example 1 --------------
C:\PS>Add-NcSnapmirrorSnapshotOwner -Vserver beam01 -Volume luns -Snapshot s
napmirror.f57fc6fe-81e3-11e2-86af-123478563412_2147485092.2013-02-28_204559
Add the default snapshot owner.
NcController : 10.63.165.62
Vserver : beam01
Volume : luns
Snapshot : snapmirror.f57fc6fe-81e3-11e2-86af-123478563412_2147485092.20
13-02-28_204559
Owners : {-}
RELATED LINKS
Get-NcSnapmirrorSnapshotOwner
Remove-NcSnapmirrorSnapshotOwner
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|