With vSphere Replication you can recover successfully replicated virtual machines at the secondary site, one at a time.

vSphere Replication performs a check to confirm that the source virtual machine is shut down if the primary site is available.

Verify that the virtual machine at the primary site is powered off.

Important

Due to a critical issue with recovery in vSphere Replication 5.1, you must upgrade to vSphere Replication 5.1.0.1 before you can perform a recovery on a virtual machine. See Upgrade the vSphere Replication Appliance for information about how to upgrade vSphere Replication by using the virtual appliance management interface (VAMI). Alternatively, you can upgrade vSphere Replication by using VMware vSphere Update Manager.

1

Log in to the vSphere Web Client.

2

Click vSphere Replication.

3

Click Sites.

4

Select the secondary site.

5

On the Incoming Replications tab, right-click the virtual machine to recover and select Recover.

6

Select whether to recover the virtual machine with all the latest data, or to recover the virtual machine with the most recent data from the target site.

Option

Description

Recover with recent changes

Performs a full synchronization of the virtual machine from the source site to the target site before recovering the virtual machine. Selecting this option avoids data loss, but it is only available if the data of the source virtual machine is accessible. You can only select this option if the virtual machine is powered off.

Recover with latest available data

Recovers the virtual machine by using the data from the most recent replication on the target site, without performing synchronization. Selecting this option results in the loss of any data that has changed since the most recent replication. Select this option if the source virtual machine is inaccessible or if its disks are corrupted.

7

Select the recovery folder and click Next.

8

Select the target compute resource and click Next.

9

If the virtual machine contains hard disks for which you have not enabled replication, select a target destination for the disk or detach the disk, and click Next.

This page only appears if the virtual machine contains hard disks for which you have not enabled replication.

To select a target destination, click Browse and navigate to a folder on a datastore in which to recover the virtual machine disk files.

To detach the disk and exclude the disk files from the recovery, click Detach.

10

(Optional) Select Power on after recovery.

11

Click Finish.

vSphere Replication validates the provided input and recovers the virtual machine. If successful, the virtual machine status changes to Recovered. The virtual machine appears in the inventory of the secondary site.

If the recovery fails, the replication of the virtual machines reverts to the replication state before the attempted recovery. For more information about the failed recovery attempt, check vCenter Server tasks.

The recovery might also fail if you use the same name for the virtual machine in a scenario where you use vSphere Replication to replicate a virtual machine in a single vCenter Server and the vCenter Server instance has only one host in its inventory. See Error Recovering Virtual Machine in a Single vCenter Server Instance for more information.

After a successful recovery, vSphere Replication disables the virtual machine for replication if the primary site is still available. When the virtual machine is powered on again it does not send replication data to the recovery site. To unconfigure the replication, select Stop replication.

When the source virtual machine is no longer in the vCenter Server inventory, the replication is unconfigured. Unconfigured replications do not appear in the Summary tab counter nor in the Incoming Replications or Outgoing Replications tabs. Check vCenter Server task history for information on performed recoveries.