Share via


New-DPMRecoveryOption

Creates recovery options.

Syntax

StagingAreaRestoreOption

New-DPMRecoveryOption
    [[-DPMServerName] <String>]
    [-OverwriteType] <OverwriteType>
    [-StagingAreaPath] <String>
    [-DestinationServerName] <String>
    [-DestinationPath] <String>
    [-DatasourceName] <String>
    -DPMComponentName <Guid>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-RestoreSecurity]
    [-FileSystemDatasource]
    [<CommonParameters>]

FsRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    [-OverwriteType] <OverwriteType>
    -RecoveryType <RecoveryType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-FileSystem]
    [-AlternateLocation <String>]
    [-RestoreSecurity]
    [<CommonParameters>]

SQLRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    -RecoveryType <RecoveryType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-RestoreSecurity]
    [-SQL]
    [-RollForwardRecovery]
    [-TargetLocation <String>]
    [-AlternateDatabaseDetails <AlternateDatabaseDetailsType>]
    [-LeaveDBInRestoringState]
    [-CopyLogFiles]
    [-LogFileCopyLocation <String>]
    [<CommonParameters>]

SharePointRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    -RecoveryType <RecoveryType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-RestoreSecurity]
    [-TargetLocation <String>]
    [-SharePoint]
    [<CommonParameters>]

SharePointSiteRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    -RecoveryType <RecoveryType>
    -DatabaseFileTempLocation <String>
    -IntermediateServer <String>
    -IntermediateSqlInstance <String>
    -ExportFileTempLocation <String>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-RestoreSecurity]
    [-TargetLocation <String>]
    [-SharePointSite]
    [-TargetSiteUrl <String>]
    [-ItemLevelRecoveryType <SharepointRecoveryType>]
    [<CommonParameters>]

GenericDatasourceRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    -RecoveryType <RecoveryType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-RestoreSecurity]
    [-TargetLocation <String>]
    [-GenericDatasource]
    [<CommonParameters>]

HyperVDatasourceRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    -RecoveryType <RecoveryType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-RestoreSecurity]
    [-TargetLocation <String>]
    [-HyperVDatasource]
    [<CommonParameters>]

ClientDatasourceRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    [-OverwriteType] <OverwriteType>
    -RecoveryType <RecoveryType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-AlternateLocation <String>]
    [-RestoreSecurity]
    [-ClientDatasource]
    [<CommonParameters>]

SystemProtectionRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    -RecoveryType <RecoveryType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-RestoreSecurity]
    [-TargetLocation <String>]
    [-SystemProtectionDatasource]
    [<CommonParameters>]

ExchangeRecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    -RecoveryType <RecoveryType>
    -ExchangeOperationType <ExchangeOperationType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-RestoreSecurity]
    [-RollForwardRecovery]
    [-TargetLocation <String>]
    [-Exchange]
    [-AlternateDatabase <String>]
    [-AlternateStorageGroup <String>]
    [-IsRecoveryStorageGroup]
    [-MountDatabaseAfterRestore]
    [-MailboxDisplayName <String>]
    [-DatabaseName <String>]
    [-StorageGroupName <String>]
    [<CommonParameters>]

E14RecoveryOption

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    -RecoveryType <RecoveryType>
    -ExchangeOperationType <ExchangeOperationType>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-SANRecovery]
    [-RestoreSecurity]
    [-RollForwardRecovery]
    [-TargetLocation <String>]
    [-E14Datasource]
    [-AlternateDatabase <String>]
    [-IsRecoveryDatabase]
    [-MountDatabaseAfterRestore]
    [<CommonParameters>]

RecoverToDpm

New-DPMRecoveryOption
    [-TargetServer] <String>
    [-RecoveryLocation] <RecoveryLocation>
    [-DPMLibrary <Library>]
    [-RecoverToReplicaFromTape <Boolean>]
    [-PrimaryDpmServer]
    [<CommonParameters>]

Description

The New-DPMRecoveryOption cmdlet creates recovery options for file servers, computers that run Exchange Server, SharePoint Server, and Microsoft SQL Server, and other data sources.

Examples

Example 1: Recover a file system

PS C:\> $PServer = Get-DPMProductionServer
PS C:\> $PObjects = Get-DPMDatasource -ProductionServer $PServer
PS C:\> $RPoint = Get-DPMRecoveryPoint -Datasource $PObjects
PS C:\> $Roption =New-DPMRecoveryOption -TargetServer "ProductionFileServer" -RecoveryLocation "copytofolder" -FileSystem -AlternateLocation "C:\restored" -OverwriteType Overwrite -RestoreSecurity -RecoveryType Restore
PS C:\> Restore-DPMRecoverableItem -RecoverableItem $RPoint -RecoveryOption $ROption

The first command gets the list of protected servers. The command stores the result in the $PServer variable.

The second command gets the list of protected and unprotected data sources on the protection server in $PServer you selected. The command stores the result in the $PObject variable.

The third command gets the recovery point for the data source in $PObject you selected, and stores that recovery point in the $RPoint variable.

The fourth command creates a recovery option on a file system data source. The command specifies that data is recovered to the target server ProductionFileServer at C:\restored.

The fifth command restores a version of the data source in $RPoint you selected by using the recovery option in $ROption.

Example 2: Recover a file system by using a replica

PS C:\>Connect-DPMServer -DPMServerName "DPMServer01"
PS C:\> $PServer = Get-DPMProductionServer -DPMServerName "DPMServer01"
PS C:\> $PObjects = Get-DPMDatasource -ProductionServer $PServer
PS C:\> $DpmLibrary = Get-DPMLibrary -DPMServerName "DPoreMServer01"
PS C:\> $RPoint = Get-DPMRecoveryPoint -Datasource $PObjects
PS C:\> $ROption = New-DPMRecoveryOption -Filesystem -RecoverToReplicaFromTape $True -RecoveryLocation DPMReplicaVolume -DPMLibrary $DpmLibrary[0] -TargetServer "DPMServer02" -OverwriteType Overwrite

The first command opens a connection to a DPM server.

The second command gets the computer named DPMServer01. The DPM protection agent is installed on this server. The command stores the server in the $PServer variable.

The third command gets the list of protected and unprotected data on the protection server in $PServer. The command stores the result in the $PObject variable.

The fourth command gets the libraries associated with the DPM server named DPoreMServer01. The command stores the libraries in the $DpmLibrary variable.

The fifth command gets the recovery point for the data source in $PObject, and then stores that recovery point result in the $RPoint variable.

The sixth command creates a recovery option on a file system data source. The command specifies that data is recovered to the replica on the target server named DPMServer02 from a tape.

Example 3: Recover a file system from a replica on tape

PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> $PObject = Get-DPMDatasource -ProductionServer $PGroup
PS C:\> $RPoint = Get-DPMRecoveryPoint -Datasource $PObject
PS C:\> $DpmLibraries = Get-DPMLibrary -DPMServerName "DPoreMServer01"
PS C:\> $ROption = New-DPMRecoveryOption -RecoverToReplicaFromTape $True -RecoveryLocation DPMReplicaVolume -FileSystem -TargetServer "DPMServer02" -OverwriteType Overwrite -RecoveryType Recover -DpmLibrary $DpmLibraries
PS C:\> Restore-DPMRecoverableItem -RecoverableItem $RPoint -RecoveryOption $ROption

The first command gets the protection group on the DPM server named DPMServer02. The command stores the result in the $PGroup variable.

The second command gets the protected and unprotected data on the production server in $PServer. The command stores the results in the $PObject variable.

The third command gets the recovery point for the data source in $PObject, and stores that recovery point in the $RPoint variable.

The fourth command gets the libraries associated with the DPM server named DPoreMServer01. The command stores the libraries in the $DpmLibraries variable.

The fifth command creates a recovery option on a file system data source. The command specifies that data is recovered to the replica on the target server named DPMServer02 from a tape.

The sixth command restores a version of the data source in $RPoint by using the recovery option in $ROption.

Parameters

-AlternateDatabase

Specifies the name of an alternate database for recovery.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AlternateDatabaseDetails

Specifies the type of the alternate database.

Parameter properties

Type:AlternateDatabaseDetailsType
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SQLRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AlternateLocation

Specifies an alternate location where System Center 2019 - Data Protection Manager (DPM) creates a recovery point.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

FsRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ClientDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AlternateStorageGroup

Specifies an alternate storage group for a new recovery point.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ClientDatasource

Indicates that the restored data is a file system or an application.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ClientDatasourceRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CopyLogFiles

Indicates that DPM copies the log files.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SQLRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DatabaseFileTempLocation

Specifies a temporary location for the database file.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SharePointSiteRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DatabaseName

Specifies the name of the database.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DatasourceName

Specifies the name of the data source.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:5
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DestinationPath

Specifies the recovery location.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:4
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DestinationServerName

Specifies the name of the server to which DPM recovers data.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:3
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DPMComponentName

Specifies the GUID of the data source that DPM recovers.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DPMLibrary

Specifies a DPM library object for which this cmdlet creates a recovery option. To obtain a DPM library object, use the Get-DPMLibrary cmdlet.

Parameter properties

Type:Library
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DPMServerName

Specifies the name of a DPM server on which this cmdlet acts. If you do not specify a name, the cmdlet uses the name of the current computer.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-E14Datasource

Indicates that the data source is Exchange Server 2010.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

E14RecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Exchange

Indicates that DPM performs the current operation on a Exchange Server data source.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ExchangeOperationType

Specifies the type of operation that DPM performs on a Exchange Server data source.

The acceptable values for this parameter are:

  • NoOperation
  • MailBoxLevelRecovery
  • NeedCleanShutdown

Parameter properties

Type:ExchangeOperationType
Default value:None
Accepted values:NoOperation, MailBoxLevelRecovery, NeedCleanShutdown
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ExportFileTempLocation

Specifies the location of the export file.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SharePointSiteRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FileSystem

Indicates that DPM performs the current operation on a file system data source.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

FsRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FileSystemDatasource

Indicates that DPM recovers a file system data source.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GenericDatasource

Indicates that DPM performs the current operation on a data source such as Microsoft Virtual Server.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GenericDatasourceRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HyperVDatasource

Indicates that the data source is nextref_virtualname.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

HyperVDatasourceRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IntermediateServer

Specifies the server that DPM uses for SharePoint site recovery.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SharePointSiteRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IntermediateSqlInstance

Specifies an instance of SQL Server that DPM uses for SharePoint site recovery. DPM uses the instance of SQL Server to temporarily host a SQL Server database.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SharePointSiteRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsRecoveryDatabase

Indicates that the database is a recovery database.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

E14RecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsRecoveryStorageGroup

Indicates that the recovery is a recovery storage group.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ItemLevelRecoveryType

Specifies the recovery type.

The acceptable values for this parameter are:

  • RecoveryFarm
  • UnattachedInstance

Parameter properties

Type:SharepointRecoveryType
Default value:None
Accepted values:RecoveryFarm, UnattachedInstance
Supports wildcards:False
DontShow:False

Parameter sets

SharePointSiteRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LeaveDBInRestoringState

Indicates that DPM leaves the database non-operational but in a restorable state. Specify this parameter to leave the database operational.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SQLRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LogFileCopyLocation

Specifies the location where DPM copies log files.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SQLRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MailboxDisplayName

Specifies a name that DPM displays on the mailbox.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MountDatabaseAfterRestore

Indicates that DPM mounts the database after it restores the database.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-OverwriteType

Specifies the action that DPM takes when the file it is recovering already exists.

The acceptable values for this parameter are:

  • CreateCopy
  • Skip
  • Overwrite

Parameter properties

Type:OverwriteType
Default value:None
Accepted values:Overwrite, NoOverwrite, CopyOnExist
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:6
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
FsRecoveryOption
Position:6
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ClientDatasourceRecoveryOption
Position:6
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PrimaryDpmServer

Indicates that the server where DPM recovers data is a DPM server.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

RecoverToDpm
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoverToReplicaFromTape

Indicates whether recovery to the replica is from a tape.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryLocation

Specifies the location where DPM recovers data.

The acceptable values for this parameter are:

  • OriginalServer
  • CopyToFolder
  • OriginalServerWithDBRename
  • AlternateExchangeServer
  • ExchangeServerDatabase

Parameter properties

Type:RecoveryLocation
Default value:None
Accepted values:OriginalServer, CopyToFolder, OriginalServerWithDBRename, AlternateExchangeServer, ExchangeServerDatabase, PrimaryDPMServer, DPMReplicaVolume, AlternateHyperVServer
Supports wildcards:False
DontShow:False

Parameter sets

FsRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SQLRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointSiteRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GenericDatasourceRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVDatasourceRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ClientDatasourceRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SystemProtectionRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ExchangeRecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
RecoverToDpm
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecoveryType

Specifies the recovery type. If you specify the HyperVDatasource parameter, the only valid value is Recover. The acceptable values for this parameter are: Recover or Restore.

Parameter properties

Type:RecoveryType
Default value:None
Accepted values:Recover, Restore
Supports wildcards:False
DontShow:False

Parameter sets

FsRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SQLRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointSiteRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GenericDatasourceRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVDatasourceRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ClientDatasourceRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SystemProtectionRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ExchangeRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RestoreSecurity

Indicates that DPM uses the security settings from the recovery point. If you do not specify this parameter, DPM uses the security settings of the destination server.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
FsRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SQLRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointSiteRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GenericDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ClientDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SystemProtectionRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RollForwardRecovery

Indicates that DPM recovers the application from the latest recovery point and applies all logs after that recovery point to bring the application to the latest state.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SQLRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SANRecovery

Indicates that DPM performs the current operation on a Storage Area Network (SAN) data source.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

FsRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SQLRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointSiteRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GenericDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ClientDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SystemProtectionRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SharePoint

Indicates that DPM performs the current operation on a SharePoint data source.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SharePointRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SharePointSite

Indicates that DPM performs the current operation on a SharePoint site.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SharePointSiteRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SQL

Indicates that DPM performs the current operation on a SQL Server data source.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SQLRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StagingAreaPath

Specifies the path of the staging area.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

StagingAreaRestoreOption
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StorageGroupName

Specifies the name of the storage group.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SystemProtectionDatasource

Indicates that DPM performs the current operation on a system protection data source.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SystemProtectionRecoveryOption
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetLocation

Specifies the location where DPM stores the replica.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SQLRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointSiteRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GenericDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVDatasourceRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SystemProtectionRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ExchangeRecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetServer

Specifies the target server for recovery.

If you use this cmdlet in a clustered environment, specify the target server parameter in the format ResourceGroupName.ClusterName.DomainName.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

FsRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SQLRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SharePointSiteRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
GenericDatasourceRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
HyperVDatasourceRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ClientDatasourceRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
SystemProtectionRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
ExchangeRecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
E14RecoveryOption
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
RecoverToDpm
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetSiteUrl

Specifies the URL of the target where DPM recovers data.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

SharePointSiteRecoveryOption
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.

Outputs

RecoveryOption