Start-DPMManualReplicaCreation
Prepares a replica VHD for manual data copy.
Syntax
Default (Default)
Start-DPMManualReplicaCreation
[-Datasource] <Datasource>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Start-DPMManualReplicaCreation cmdlet prepares a replica virtual hard disk (VHD) for manual data load on a System Center - Data Protection Manager (DPM) server. If a data source is protected with manual replica creation method, this cmdlet mounts the replica VHD and exposes the replica volume so that the DPM administrator can manually copy the data source data on the replica volume.
After the manual copy is complete, use the Stop-DPMManualReplicaCreation cmdlet to unmount the replica VHD. To start the scheduled backups, a consistency check needs to be triggered for the current data source.
Examples
Example 1: Start manual replica creation of a protected data source
PS C:\>$pg = Get-DPMProtectionGroup -DPMServerName "TestingServer"
PS C:\> $ds = Get-DPMDatasource -ProtectionGroup $pg
PS C:\> Start-DPMManualReplicaCreation -Datasource $ds
The first command uses the Get-DPMProtectionGroup cmdlet to get the protection groups on the 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 mounts the replica VHD for this data source and enables the DPM administrator to manually copy the data source data to the replica volume.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Datasource
Specifies the data source for which to perform manual data copy.
Parameter properties
Type: | Datasource |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.