›  Backup & Disaster Recovery  ›  Appliance Management Console  ›  Clients tab  ›  VMware subtab

VMware subtab

On this page


VMware subtab

VMware server connection

Add new VMware server connection

Click Add Connections to launch the wizard.

The first page of the connection wizard will ask for the address and administrative level credentials of the vCenter or host you would like to connect to.

Add VMware connection

The second and final page of the connection wizard explains that each VM will need a local client to manage backup and restore operations. This page gives you the option to automatically register all VMs on the connection (see VMware automatic registration). Click Finish to add the connection.

Add VMware connection

When connect directly to a host managed by a vCenter Server, you will be given the option to connect to the vCenter Server instead. If you choose to do so, a new connection wizard will appear, and the address will be automatically set.

Upon completion, you will receive a notification that the connection was added successfully, or message describing why the connection failed.

Edit existing VMware server connection

Select View Connections to open the connections dialog.

From this dialog you have the ability to disconnect, reconnect or completely remove a connection. To view further information about a particular connection, click Properties in the context menu.

View VMware connections

The Connection Properties dialog gives more in-depth information about a connection. From this dialog you can also edit address information (not editable if connected), view hosts if connection is a vCenter server, and enable/disable VMware auto registration.

VMware connection properties

Register virtual machines automatically

VMware auto-registration allows your CFA to automatically register all current and future VMs on a given connection. This process will create a local VM client and assign it the VM client defaults. This is an all-or-nothing setting, but individual clients can be manually unregistered at any time. If manually un-register, the client will be excluded from future auto registration.

Auto registration can be enabled as follows:

  1. Add new VMware server connection.

  2. Edit existing VMware server connection.

Once automatic registration has completed, a notification will be added to the Dashboard tab.

If you click this notification, it will take you to the auto registration report for the given connection. You can view auto registration reports at any time on the Connection Properties dialog.

For each auto-registration report, there will also be an email sent if email notifications have been configured. You can disable auto-register report emails in SettingsSystem Alerts (VM Auto-Registered option).

If your CFA happens to be running on the connection, it will not be automatically registered and will prevent manual registration.

Edit VMware client configuration

To edit a VM client configuration, click Edit on the toolbar.

To enable CBT the following VMware conditions must be met:

  • The host must be ESXi 5.0–7.0 or later.

  • The VM owning the disks to be tracked must be hardware version 7 or later.

  • I/O operations must go through the ESXi storage stack. So NFS is supported, as is RDM in virtual compatibility mode, but not RDM in physical compatibility mode. Of course VMFS is supported, if backed by SAN, iSCSI, or local disk.

  • CBT must be enabled for the VM (see below).

  • Obviously, VM storage must not be (persistent or non-persistent) independent disk, meaning those not affected by snapshots.

  • The virtual disk must be located on a VMFS volume, backed by SAN, iSCSI, or local disk. RDM is not VMFS.

  • The VM must have zero (0) snapshots when CBT is enabled, for a clean start.

  • CBT is enabled by default on 6.1 and later versions.

  • CBT can also be checked via the ClientsVMware and looking for the CBT Enabled Column for registered VMs.

Restore virtual machine

To restore a backed up VMware VM, launch the restore wizard via one of the following:

  • ClientsSummary

  • ClientsVMware

  • JobsHistory

With the exception of selecting the job itself from JobHistory, you will be presented with the option of which job to restore.

Once the wizard has been launched, you will see a Preparing Wizard screen followed by a screen showing all backups that can be restored from that VM. Select the backup you wish to restore and click Next.

You will be prompted to select the restore method, either Restore to Existing Virtual Machine or Create New Virtual Machine. Select the desired option and click Next.

VM restore method

If you select Create New Virtual Machine, an additional screen will display prompting you for the details of the new connection. Complete the destination and datastore information and click Next.

VM restore destination

You will be prompted to select which datastores you wish to restore the VM disks to. If the datastores used by the original VM backup are available, you can select Use Existing. Otherwise, select a datastore for each disk being restored. Click Next.

VM restore layout

  • If you selected Restore to Existing Virtual Machine, you will be prompted to take a snapshot of the state of the VM before restoring over the VM. This is not required.

  • If you selected Restore to New VM, you will be prompted to name the new VM. Click Next.

    VM restore new name

A summary window will allow you to review the settings you have chosen. You will be asked if you wish to power on the VM after it is restored and if you wish to connect the VM to the network after it is restored.

After you have made your selections, click Finish. You can monitor the status of the restore in ClientsVMware (Action column).

VM restore summary

Browse and restore virtual machine backups

To browse and restore a VM backup:

  1. Select a VM, and then click Browse and Restore on the toolbar, or right-click a VM, and then click Browse and Restore.

    VM browse and restore

  2. Select the job to restore files from.

  3. Select the type of restore:

    • Component Files

      Browse and restore the files that make up (define) the VM. This includes the VM OVF file as well as its VMDK file. Typically, these files are only useful if you need access to low-level, technical information regarding the VM.

    • Contained Files

      Browse and restore the files that are contained on the VM hard disks. Each disk can be explored independently using our exclusive file system browser UI. This is a great way to restore selected files from within a VM without having to restore (and possibly create) the entire thing.

      Mounting the VM disks may not be immediate. Once started, the process will make a copy of the disks to work from. Once copied, subsequent mounts and restore requests will be significantly faster.

  4. Review your selections and click Finish.

    VM browse and restore summary

  5. Select the files and folders to restore.

  6. Select the client and path to restore to. The path can be selected or browsed.

    To restore files to a VM, the following conditions must be met:

    • The VM must be powered on and it must be running the version of VMware tools for the managing entity to which it belongs (vCenter, ESXi, or else).

    • Login credentials must be supplied for a valid, available account on the VM. This account will be used to gain access to the file system for purposes of saving restored files. Administrator-level accounts are recommended.

  7. Click Restore to submit the restore job. The files are restored to the path specified.

Remove VMware client

You can remove a VM client in two ways:

  • Go to ClientsVMware, right-click a VM, and then click Unregister.

    Unregister VMware VM

  • Go to ClientsEdit, select a VM, and then click Delete.

Remove all VMware clients

  1. Click View Connections.

  2. Right-click the server to be removed, and then click Remove.

    VMware connection removal

    The remove wizard will appear and list the VMs that will be removed with the server connection.

  3. Click Yes to remove the connection and all VMs on the server selected.

    VMware connection removal confirmation

Existing backup jobs may be retained or purged when unregistering a VM. But, a specific client cannot be retained while purging others if removed as a group or a server. If you wish to retain a client in a group or a server, see Remove a VM client above.

Restore application data from a virtual machine backup

Before doing a backup of a windows VM, the CFA can signal the guest operating system to quiesce the VSS writers. This will signal the writers to put their data into a consistent state like shutting down the service would without shutting down the service. This prepares the data in the program associated with the writer to be restored separately from the rest of the VM.

In this section, we will cover doing an application data restore for exchange, but other program with VSS writers can also be restored this way.

Prepare backup for application data restore

Before we can restore application data to a VSS writer, we need the files in a backup to be prepared for a restore. To do this, go to ClientsEdit, select the client for the VM, and check the Quiesce Data box in the VMware section.

VMware VM quiesce data option

The next backup will ask the VM guest operating system to signal applications to prepare their data for restore before the VM snapshot is taken. After that the backup will proceed as normal.

Prepare client for application data restore

To restore VSS data to a VM, the backup agent must be installed on the VM. This will provide the means for the CFA to send restore data to the VSS writers on the VM.

  1. Download and run the agent software from Downloads.

  2. On the agent configuration, set the IP address of the CFA, the password, and the port for the agent to listen on.

    Appliance tab in DR backup agent

    The agent by default runs as the local system account, which only has administrator privileges on the local machine. Some VSS writers will require additional privileges within the application—that is, Exchange or SQL.

  3. Open the agent configuration, go to the Service Control tab, and click Stop to stop the service.

  4. Select Other Account, and enter the credentials for an account with local administrator access and administrator access to the application you are going to restore.

    Service Control tab in DR backup agent

  5. Click Apply, and then start the agent service.

  6. Create a new client for the virtual machine.

    • Set the password and port to match the one used by the agent.

    • Set the IP address to that of the guest operating system, not the ESX host.

    • This client is only needed for restoring data, and will not be used for backups, so set the schedule to [None].

Restore application data

To restore application data to a VSS writer:

  1. Go to JobsHistory, right-click the job to restore, and then click Browse and Restore.

  2. Select the Application Data restore type and click Next.

  3. Select the client to restore to from the list, and then click Next.

  4. Click Finish.

The CFA will communicate with VSS on the client VM through the agent running on that client, and display a list of VSS writers that can be restored. From here, you can select what data to restore to the available writers. It is possible with some writers like the SQL Server or Exchange Server writers to browse into the writer, and select only a portion of the available to restore. In the screenshots below, only one Exchange database is being restored.

For an Exchange 2010 database restore, the agent will handle everything that has to be done one the exchange server (un-mounting the database, preparing it for restoration, and mounting the restored database).