New-RecoveryOption

Applies To: System Center Data Protection Manager 2007

Date Topic Section

Jan 2008

The recoverable item cannot be recovered. Please see DPM Help for more details (ID: 31079).

New Information

Jan 2008

The TargetServer Parameter

New Information

Jun 2008

Syntax for Exchange recovery

Errata

Jun 2008

New enum value for RecoveryLocation

New Information

Jun 2008

Example 2 – Recovering from a replica volume

New Information

New Information

TargetServer Parameter

When using the New-RecoveryOption cmdlet in a clustered environment, the target server parameter should be in the following format:

ResourceGroupName.ClusterName.DomainName.

The recoverable item cannot be recovered. Please see DPM Help for more details (ID: 31079)

This error occurs due to one of the following reasons:

  • Setting the CopyLogFiles parameter to True, without specifying the values for LeaveDBInRestoringState and LogFileCopyLocation. Specify the values and retry the recovery.

  • Attempting to recover an older Exchange database to the original server. Retry the recovery with a more recent recovery point.

  • Attempting to recover a SQL database with the RollForwardRecovery parameter. Retry the recovery with the latest recovery point.

New enum for RecoveryLocation

Along with the enum values listed in the Management Shell help, RecoveryLocation can also take the value DPMReplicaVolume.

Example 2 – Recovering from a replica volume

The example outlines the sequence of commands to recover a file server using the replica.

$dpmserver = connect-DPMServer DPMServer1
$ps = Get-ProductionServer DPMServer1
$ds = Get-Datasource $ps
$dl = Get-DPMLibrary DPMServer1
$rp = Get-RecoveryPoint $ds
$rop = New-Recoveryoption -Filesystem -RecoverToReplicaFromTape 1 -RecoveryLocation DPMReplicaVolume -DPMLibrary $dl[0] -Targetserver DPMServer1 -overwritetype overwrite

Errata

Syntax for Exchange recovery

The complete syntax to perform an Exchange recovery is as follows:

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