White Papers

Additional resources
20 Dell EMC SC Series: Disaster Recovery for Microsoft SQL Server Using VMware Site Recovery Manager | CML1018
# Connect to vCenter
Connect-VIServer -Server $vCenterDnsName
# Get the virtual machine
$Vm = Get-VM -Name $VmName
# Get the latest Replay Manager snapshot ( there should be only one )
$VmSnapshot = Get-Snapshot -VM $Vm `
| Where-Object { $_.Description -like "*Replay Manager*" } `
| Sort-Object -Property Created `
| Select-Object -Last 1
# Revert the VM to the snapshot
Set-VM -VM $Vm -Snapshot $VmSnapshot -Confirm:$false
# Remove the snapshot
Remove-Snapshot $VmSnapshot -Confirm:$false
# Disconnect from vCenter
Disconnect-VIServer -Server $vCenterDnsName
Note: This is an example of the PowerShell commands required to rollback a virtual machine to a VMware
snapshot. This is not a production-ready script.
4.4.2.2 Using snapshots created by the SQL databases backup extension in Replay
Manager
Volumes recovered from snapshots of pRDMs created by Replay Manager will not be in a usable state after
the virtual machine is powered on by SRM. Attributes placed on the volume by VSS when the snapshot was
created will need to be removed.
For manual recovery, configure the recovery plan to power on the virtual machine. After SRM recovery is
complete, run the following PowerShell cmdlets, on each pRDM recovered from VSS snapshots:
# Assign Variables
$DiskSerialNumber = "<disk serial number>"
# Load the Storage Center PowerShell Command Set
If (!( Get-PSSnapin | Where-Object { $_.Name -eq
"Compellent.StorageCenter.PSSnapin" } ))
{
Add-PSSnapin -Name "Compellent.StorageCenter.PSSnapin" | Out-Null