Stop-DPMManualReplicaCreation

Unmounts a replica VHD after manual data copy.

Syntax

Stop-DPMManualReplicaCreation
    [-Datasource] <Datasource>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Stop-DPMManualReplicaCreation cmdlet signals that manual data copy on a replica virtual hard disk (VHD) is complete. It unmounts the replica VHD. To start the scheduled backups, a consistency check needs to be triggered for the current data source.

Examples

Example 1: Complete manual replica creation of a protected data source

PS C:\>$pg = Get-DPMProtectionGroup -DPMServerName "TestingServer"
PS C:\> $ds = Get-DPMDatasource -ProtectionGroup $pg
PS C:\> Stop-DPMManualReplicaCreation -Datasource $ds

The first command uses the Get-DPMProtectionGroup cmdlet to get the protection groups on the System Center 2019 - Data Protection Manager (DPM) server named TestingServer. It stores them in the $pg variable.

The second command uses the Get-DPMDatasource cmdlet to get the data sources protected in the protection group $pg, assuming there is only one protection group. It stores them in the $ds variable.

The third command unmounts the replica VHD for this data source. The DPM administrator has to manually trigger a consistency check job on the data source to enable scheduled backup jobs to start.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Datasource

Specifies the data source for which manual data copy is complete.

Type:Datasource
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False