NAME

Set-DcsReplicationSnapshot

SYNOPSIS

Assigns a snapshot to be updated for the destination virtual disk when a checkpoint is received.

SYNTAX

Set-DcsReplicationSnapshot   -Replication <Object>   [ -Snapshot <String> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Assigns a snapshot to be updated for the destination virtual disk when a checkpoint is received, see Set-DcsReplicationCheckPoint.

PARAMETERS

-Replication<Object>
AsyncReplicationData object, VirtualDiskData object, Async Replication ID, virtual disk name, or virtual disk ID that identifies the local virtual disk in the replication. The virtual disk must be a local virtual disk for the connection. This virtual disk will receive the checkpoint marker used to update the snapshot. The AsyncReplicationData object can be obtained with Get-DcsReplication and the VirtualDiskData object can be obtained with Get-DcsVirtualDiskData.

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Snapshot<String>
Name or ID of the snapshot to update. The virtual disk specified for the Replication parameter must be the source of the snapshot. To remove the snapshot, use an empty string as the value; for example "".

Required: false
Position: 2
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is used.

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

-PipelineVariable<String>

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

INPUTS

AsyncReplicationData or VirtualDiskData : The object that identifies the replication. The VirtualDiskData object can also be used to identify the virtual disk in the replication that will receive the checkpoint marker used to update the snapshot.

OUTPUTS

AsyncReplicationData : The object that identifies the replication.

NOTES

Also see Set-DcsReplicationCheckPoint, Get-DcsReplication, Get-DcsVirtualDisk.

EXAMPLES


-------------- Example 1 Sets a replication snapshot for a replication specified by name --------------
Set-DcsReplicationSnapshot -Replication "Virtual disk 2" -Snapshot "Virtual disk 2 @ 8/31/2011 11:41:58 AM"
		

Sets the snapshot named "Virtual disk 2 @ 8/31/2011 11:41:58 AM" as a replication snapshot. The local virtual disk involved in the replication is named "Virtual disk 2". This snapshot will be updated when a checkpoint marker is sent (see Set-DcsReplicationCheckPoint).

FirstServerId:84972D6B-7E71-4616-BDA1-57ECEAF3FFC4
FirstVirtualDiskId:ff69cf72849c49bdb319bb2b61970306
SecondServerId:ef23cc60-9003-452d-a291-3dd29aa1f403:2AB62361-B9B9-4A38-B246-3EACF3B19B3A
SecondVirtualDiskId:fc9535748c98442b9d23f9aea0a8067f
IsActiveSide:True
ReplicationState:Active
FailureStatus:NoFailure
TransferStatus:Enabled
Paused:False
CheckpointSnapshotId:V.{91E63003-CA79-11E0-A962-00155D11E921}-00000002--V.{91E63003-CA79-11E0-A962-00155D11E921}-00000027
AutoAsyncReplicationLicense:Enabled
OfflineInitializationSupported:True
InitializationType:Online
OfflineInitializationBuffer:
OfflineInitStatus:NoOfflineInit
InitializationFailureStatus:NoFailure
Id:647f5c8e-90ce-439f-adc9-c96a1ec4213d
Caption:Virtual disk 2
ExtendedCaption:Virtual disk 2 on SSV3
Internal:False