Data ONTAP® PowerShell Toolkit

Cmdlet: Invoke-NaSnapmirrorBreak


NAME
Invoke-NaSnapmirrorBreak

SYNOPSIS
Breaks a snapmirrored relationship.

SYNTAX
Invoke-NaSnapmirrorBreak [-Destination] <String> [-Controller <NaController>
] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf]
[-Confirm] [<CommonParameters>]


DESCRIPTION
Breaks a snapmirrored relationship. No checking on whether the operation is
legal, or whether it is successful. I.e. you need to query status afterward
by using "Get-NaSnapmirror". "Invoke-NaSnapmirrorBreak" must be issued on
the destination filer.


PARAMETERS
-Destination <String>
Destination location of the snapmirrored pair to break. The destination
location is of the volume form: <filer>:<volume> or the qtree form: <fi
ler>:/vol/<volume>/<qtree>. If the destination-location is in the qtree
form, it must first be quiesced using Invoke-NaSnapmirrorQuiesce.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction <ActionPreference>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable <String>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
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
NetApp.Ontapi.Filer.Snapmirror.SnapmirrorStatusInfo


NOTES


Category: snapmirror
API: snapmirror-break

-------------- Example 1 --------------

C:\PS>Invoke-NaSnapmirrorBreak benson:dunn_vol2_mirror


Break off Snapmirror with destination volume 'dunn_vol2_mirror' on controlle
r 'benson'.


BaseSnapshot : benson(0118045471)_dunn_vol2_mirror.5
Contents : Replica
CurrentTransferError :
CurrentTransferType :
DestinationLocation : benson:dunn_vol2_mirror
LagTime : 179
LastTransferDuration : 9
LastTransferFrom : dunn:vol2
LastTransferSize : 7548
LastTransferType : update
MirrorTimestamp : 1266349193
SourceLocation : dunn:vol2
State : broken-off
Status : idle
TransferProgress : 0



RELATED LINKS
Invoke-NaSnapmirrorResync







 Data ONTAP® PowerShell Toolkit