Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Invoke-NaSnapmirrorAbort


NAME
Invoke-NaSnapmirrorAbort

SYNOPSIS
Cancels any transfer for a destination.

SYNTAX
Invoke-NaSnapmirrorAbort [-Destination] <String> [-Controller <NaController>
] [-ClearCheckpoint] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Cancels any transfer for a destination. The API can be issued from either t
he source or destination filer.


PARAMETERS
-Destination <String>
The destination location of the transfer to abort. The destination loca
tion is of the volume form: <filer>:<volume> or the qtree form: <filer>:
/vol/<volume>/<qtree>.

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

-ClearCheckpoint
If true, the restart checkpoint is cleared. The default is false, not c
leared.

Required? false
Position? named
Default value false
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-abort

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

C:\PS>Get-NaSnapmirror | Invoke-NaSnapmirrorAbort


Abort all Snapmirror transfers.


BaseSnapshot : benson(0118045471)_dunn_vol2_mirror.3
Contents : Replica
CurrentTransferError : replication transfer failed to complete
CurrentTransferType : resync
DestinationLocation : benson:dunn_vol2_mirror
LagTime : 25
LagTimeTS : 00:00:25
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 : snapmirrored
Status : idle
TransferProgress : 0



RELATED LINKS
Get-NaSnapmirror







 Data ONTAP® PowerShell Toolkit