Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Invoke-NaSnapmirrorBreak


NAME
Invoke-NaSnapmirrorBreak

SYNOPSIS
Breaks a snapmirrored relationship.

SYNTAX
Invoke-NaSnapmirrorBreak [-Destination] <String> [-Controller <NaController>
] [-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 Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

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.3
Contents : Replica
CurrentTransferError : replication transfer failed to complete
CurrentTransferType : resync
DestinationLocation : benson:dunn_vol2_mirror
LagTime : 54
LagTimeTS : 00:00:54
LastTransferDuration : 1
LastTransferDurationTS : 00:00:01
LastTransferFrom : dunn:vol2
LastTransferSize : 7774208
LastTransferType : resync
MirrorTimestamp : 1280784739
MirrorTimestampDT : 8/2/2010 9:32:19 PM
SourceLocation : dunn:vol2
State : broken-off
Status : idle
TransferProgress : 0



RELATED LINKS
Invoke-NaSnapmirrorResync







 Data ONTAP® PowerShell Toolkit