Vmware Data Recovery Administration Guide
Vmware Data Recovery Administration Guide
Guide
Data Recovery 1.1
EN-000193-00
VMware Data Recovery Administration Guide
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
[email protected]
Copyright © 2010 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual
property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks
and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
2 VMware, Inc.
Contents
Index 33
VMware, Inc. 3
VMware Data Recovery Administration Guide
4 VMware, Inc.
About This Book
The VMware Data Recovery Administrator's Guide contains information about establishing backup solutions for
small and medium businesses.
Intended Audience
This book is for anyone who wants to provide backup solutions using VMware Data Recovery. The information
in this book is for experienced Windows or Linux system administrators who are familiar with virtual machine
technology and datacenter operations.
Document Feedback
VMware welcomes your suggestions for improving our documentation. If you have comments, send your
feedback to [email protected].
Online and Telephone To use online support to submit technical support requests, view your product
Support and contract information, and register your products, go to
http://www.vmware.com/support.
Support Offerings To find out how VMware support offerings can help meet your business needs,
go to http://www.vmware.com/support/services.
VMware Professional VMware Education Services courses offer extensive hands-on labs, case study
Services examples, and course materials designed to be used as on-the-job reference
tools. Courses are available onsite, in the classroom, and live online. For onsite
pilot programs and implementation best practices, VMware Consulting
Services provides offerings to help you assess, plan, build, and manage your
virtual environment. To access information about education classes,
certification programs, and consulting services, go to
http://www.vmware.com/services.
VMware, Inc. 5
VMware Data Recovery Administration Guide
6 VMware, Inc.
Understanding VMware Data
Recovery 1
®
VMware Data Recovery creates backups of virtual machines without interrupting their use or the data and
services they provide. Data Recovery manages existing backups, removing backups as they become older. It
also supports deduplication to remove redundant data.
Data Recovery is built on the VMware vStorage API for Data Protection. It is integrated with VMware vCenter
Server, allowing you to centralize the scheduling of backup jobs. Integration with vCenter Server also enables
virtual machines to be backed up, even when they are moved using VMware VMotion™ or VMware
Distributed Resource Scheduler (DRS).
Data Recovery uses a virtual machine appliance and a client plug-in to manage and restore backups. The
backup appliance is provided in open virtualization format (OVF). The Data Recovery plug-in requires the
VMware vSphere Client.
Backups can be stored on any virtual disk supported by VMware ESX™. You can use storage area networks
(SANs), network attached storage (NAS) devices, or Common Internet File System (CIFS) based storage such
as SAMBA. All backed-up virtual machines are stored in a deduplicated store.
VMware Data Recovery supports the Volume Shadow Copy Service (VSS), which provides the backup
infrastructure for certain Windows operating systems.
VMware, Inc. 7
VMware Data Recovery Administration Guide
For virtual machines created in vSphere 4.0, the Data Recovery appliance creates a quiesced snapshot of the
virtual machine during the backup. The backups use the changed block tracking functionality on the ESX hosts.
For each virtual disk being backed up, it checks for a prior backup of the virtual disk. It uses the change-tracking
functionality on ESX hosts to obtain the changes since the last backup. The deduplicated store creates a virtual
full backup based on the last backup image and applies the changes to it.
NOTE These optimizations do not apply to virtual machines created with VMware products prior to vSphere
4.0. For example, change tokens are not used with virtual machines created with Virtual Infrastructure 3.5 or
earlier. As a result, virtual machines created with earlier VMware versions take longer to back up.
If duplicate parts of a virtual machine are found, a record of the information is stored rather than storing the
information twice. Deduplication can provide significant space savings. Operating system files are often
identical among virtual machines running the same operating system. To maximize deduplication, back up
similar virtual machines to the same destination. The virtual machines do not need to be backed up during the
same job.
Data Recovery uses the vSphere licensing infrastructure to ensure that all virtual machines that are protected
by Data Recovery have appropriate licensing. Valid vSphere licensing includes Essential Plus, Advanced,
Enterprise, or Enterprise Plus licenses.
Each Data recovery backup appliance can protect a total of 100 virtual machines. It is possible to create backup
jobs that are configured to protect more than 100 virtual machines, but the backup appliance only protects 100
virtual machines and any additional virtual machines are omitted. It is possible to protect more than 100 virtual
machines by installing additional backup appliances, but different backup appliances do not share information
about backup jobs. As a result, it is possible to establish unintended configurations. For example, two Data
Recovery backup appliances could be configured to protect a folder containing 200 virtual machines, but it is
likely that some of the virtual machines would be backed up twice and some would not be backed up at all.
VSS produces consistent shadow copies by coordinating with business applications, file-system services,
backup applications, fast-recovery solutions, and storage hardware. VSS support is provided with VMware
Tools, which runs in the guest operating system. VMware provides a VSS Requestor and a VSS Snapshot
Provider (VSP). The Requester component is available inside a supported guest and responds to events from
an external backup application. The Requestor also controls the progress of backup operations inside the guest
and interacts with the VSP. The Requestor is instantiated by the VMware Tools service when a backup process
is initialized. The VSP is registered as a Windows service and notifies Data Recovery of provider-specific events
during a VSS backup.
VSS is supported on virtual machines with the following guest operating systems:
n Windows Server 2003, 32 bit and 64 bit
n Windows Vista, 32 bit and 64 bit
n Windows Server 2008, 32 bit and 64 bit
n Windows Server 2008 R2
n Windows 7, 32 bit and 64 bit
Data Recovery uses different quiescing mechanisms depending on the guest operating system that you run in
your virtual machines.
8 VMware, Inc.
Chapter 1 Understanding VMware Data Recovery
In most cases, the quiescing mechanisms provided with Data Recovery will properly quiesce applications. If
your environment includes applications or operating systems that do not respond to included quiescing
mechanisms as expected, Data Recovery supports the use of custom quiescing scripts. Deploy and run the
custom quiescing scripts inside the protected virtual machine.
Post-thaw /usr/sbin/post-thaw-script
When running the scripts, you can also use the SYNC driver or VSS components on those virtual machines
that support them.
Because Data Recovery uses VSS, Data Recovery can create snapshots while ensuring application consistency.
This means that applications write to disk any important data that is currently in memory, making sure that
a later restore of that virtual machine can restore the application back into a consistent state.
For more information about which Windows virtual machines use the Volume Shadow Copy Service, see the
Virtual Machine Backup Guide. Detailed information about VSS can be found at
http://technet.microsoft.com/en-us/library/cc785914.aspx.
Because VMware supports storing the results of multiple backup jobs to use the same deduplication store, to
maximize deduplication rates, ensure that similar virtual machines are backed up to the same destination.
While backing up similar virtual machines to the same deduplication store may produce increased space-
savings, the similar virtual machines do not need to be backed up during the same job. Deduplication is
evaluated for all virtual machines stored, even if some are not currently being backed up.
VMware, Inc. 9
VMware Data Recovery Administration Guide
Data Recovery is designed to support deduplication stores that are up to one terabyte in size and each backup
appliance is designed to support the use of two deduplication stores. Data Recovery does not impose limits
on the size of deduplication stores or number of deduplication stores, but if more than two stores are used or
as the size of a store exceeds one terabyte, performance may be affected.
There are several processes that the deduplication store completes including integrity check, recatalog, and
reclaim.
Integrity check
This operation is performed to verify and maintain data integrity on the deduplication store. This operation
runs automatically on a daily basis, though the complete integrity check is performed once a week. In addition,
the integrity check can be executed manually. Normally, the backup and restore operations are allowed from
the deduplication store while the integrity check is in progress. If a restore point is manually marked for delete,
backups are not allowed during integrity check but restore operations are allowed. If damaged restore points
are found in the deduplication store during integrity check, a manual integrity check must be run after marking
the damaged restore points for delete. During this manually run integrity check, backups and restore are not
allowed.
Recatalog
This operation is performed to ensure that the catalog of restore points is synchronized with the contents of
the deduplication store. This operation runs automatically when there is an inconsistency detected between
the catalog and the deduplication store. While the recatalog operation is in progress, no other operation is
allowed on the deduplication store.
Reclaim
This operation is performed to reclaim space on the deduplication store. This can be a result of the Data
Recovery appliance enforcing the retention policy and deleting expired restore points. This operation runs
automatically on a daily basis or when a backup job requires more space than is available on the deduplication
store. While the reclaim operation is in progress, backups to the deduplication store are not allowed, but restore
operations from the deduplication store are allowed.
10 VMware, Inc.
Installing VMware Data Recovery 2
VMware Data Recovery uses a plug-in to the VSphere Client and a backup appliance to store backups to
destinations such as hard disks.
Before you can begin using Data Recovery, you must complete the installation process, beginning with
ensuring that your environment includes resources that meet the Data Recovery system requirements.
Data Recovery requires vCenter Server and the vSphere Client. Data Recovery does not work with similar
VMware products such as VirtualCenter Server. You can download the vSphere Client from your vCenter
Server. Virtual machines to be backed up and the backup appliance must both be running on ESX 4 or later or
ESX 4i or later. Do not use Data Recovery with vCenter Servers running in linked mode.
You can store backups on any virtual disk supported by ESX. You can use technologies such as storage area
networks (SANs) and network attached storage (NAS) devices. Data Recovery also supports Common Internet
File System (CIFS) based storage such as SAMBA. While CIFS is supported it may not perform as well as
VMDKs or RDMs and it is not recommended to use CIFS shares that are:
n On a server that has another role such as CIFS shares on a vCenter Server.
n Connected to a virtual machine.
n Shared to multiple services or servers.
See the most recent vSphere documentation for information about setting up a vSphere 4.0 environment
including ESX, ESXi, vCenter Server, and the vSphere client.
VMware, Inc. 11
VMware Data Recovery Administration Guide
For initial setup, provide storage space equal to the amount of used disk space on all virtual machines being
protected. For example, if you are protecting 10 virtual machines, each with one 20 GB virtual disk each, and
those virtual disks are on average 50% full, then you should provide at least 100 GB of storage available for
the deduplication store. Over time, the amount of space the deduplication store consumes typically reaches
an equilibrium as data being updated is roughly equal to aging restore points being removed by the retention
policy.
Deduplication stores can be stored in all HCL supported storage and CIFS based network shares, and they are
compatible with storage that is capable of deduplication. While any supported format may be used, virtual
disks (VMDKs) or RDMs are recommended for deduplication stores because they provide the most well-
understood and consistent performance. CIFS shares are also supported, but the performance of such shares
varies across providers, and as such, is not an ideal solution. Furthermore, in many cases, virtual disks and
RDMs perform better than network-based deduplication stores. Deduplication stores can be stored in RDM
with either virtual or physical compatibility. If you plan to save the deduplication store to tape by taking
snapshots, use an RDM with virtual compatibility. Snapshots cannot be taken with RDM with physical
compatibility.
While CIFS can be used, do not use CIFS shares that are:
n On a server that has another role. For example, do not use CIFS shares hosted on a vCenter Server.
n Connected to a virtual machine.
n Shared to multiple services or servers.
NOTE Striping results in a loss of space efficiency across deduplication stores. Protecting virtual machines in
separate deduplication stores typically provides better results than using striping to combine disks to create
one large deduplication store.
12 VMware, Inc.
Chapter 2 Installing VMware Data Recovery
Prerequisites
Before you can install the Data Recovery plug-in, you must have vCenter Server running in your environment,
and you must install the vSphere Client, which you can download from any vCenter Server. The Data Recovery
plug-in connects to the backup appliance using port 22024. If there is a firewall between the client and the
backup appliance, port 22024 must be open before Data Recovery can be managed with the vSphere Client.
The client plug-in is only approved for managing backup appliances of the same version. Ensure you have the
correct version of the plug-in for the appliance you are managing.
Procedure
5 Select Plugins > Manage Plugins and make sure that the Data Recovery plug-in is enabled.
You can now use the client plug-in to manage Data Recovery. If the Data Recovery is not registered in the
vSphere Client, restart the client.
VMware, Inc. 13
VMware Data Recovery Administration Guide
What to do next
You may now want to complete the task “Install the Backup Appliance,” on page 14.
Prerequisites
To install the backup appliance, you must have vCenter Server and an ESX 4.0 or ESXi 4.0 host running in your
environment.
Procedure
1 From the vSphere Client, select File > Deploy OVF Template.
2 Select Deploy from file, and then browse to VmwareDataRecovery_OVF10.ovf and select it.
The ovf file can be found on the Data Recovery CD in the <Drive Letter>:\VMwareDataRecovery-ovf\
directory.
4 Review the End User License Agreement. If you agree to the terms, accept them.
If you do not accept the terms, you cannot complete the process.
There are no configurable options on this screen. You can change IP address settings through the backup
appliance console after installation. If such changes are required, use the vSphere Client to open the backup
appliance console window, where you can modify IP address settings.
What to do next
You can save backups on network storage or on hard disks. If you are going to store backups on a hard disk,
you may now want to complete the task “Add a Hard Disk to the Backup Appliance,” on page 15. Otherwise
you may now want to learn about Chapter 3, “Using VMware Data Recovery,” on page 17.
14 VMware, Inc.
Chapter 2 Installing VMware Data Recovery
Prerequisites
If you are adding a hard disk, you must have installed the backup appliance and the Data Recovery plug-in
for the vSphere Client.
Procedure
1 Start the vSphere Client and log in to the vCenter Server that manages the backup appliance.
3 In the inventory, right-click the backup appliance virtual machine and select Edit Settings.
7 If creating a new virtual disk, specify the disk size and other options and click Next.
8 If creating a new virtual disk, specify the advanced options and click Next.
9 Click Finish.
The disk is now added to the backup appliance and can be used as a destination for backups. If the backup
appliance is powered on when the hard disk is added, the hard disk is not recognized until the backup appliance
is rebooted. Therefore, if the backup appliance is powered on, reboot it to complete the addition of the hard
disk.
What to do next
You may now want to learn about Chapter 3, “Using VMware Data Recovery,” on page 17.
VMware, Inc. 15
VMware Data Recovery Administration Guide
16 VMware, Inc.
Using VMware Data Recovery 3
To use Data Recovery, you connect the backup appliance to vCenter Server and specify backup configurations.
Common tasks involved with establishing and using backup configurations include:
n Powering on the backup appliance.
n Connecting the backup appliance to the vCenter Server.
n Configuring Data Recovery.
n Establishing backup jobs, including required resources, which may include adding network shares or
formatting volumes.
Prerequisites
Before powering on the backup appliance, you must have completed the process of “Install the Backup
Appliance,” on page 14. To help ensure timezone information is correct, when first powering on the backup
appliance, use vCenter Server. After the first time the backup appliance is powered on, timezone information
is set. After this information is set, the backup appliance can be powered on from the host without consequences
to the timezone.
Procedure
2 In the inventory, right-click the virtual machine to use as the backup appliance and select Power On.
VMware, Inc. 17
VMware Data Recovery Administration Guide
3 After the virtual machine is powered on, right-click the backup appliance virtual machine and choose
Open Console.
If this is the first time logging on to the backup appliance, the default credentials are username: root,
password: vmw@re.
5 If the root account password has not been changed from the default, use the passwd command to change
the password for the root account to a strong password of your choosing.
The backup appliance is left powered on, ready to complete backup tasks.
Prerequisites
Before you can configure the backup appliance, it must be powered on.
Procedure
The URL for the backup appliance is displayed on the appliance console. To view the appliance console,
open it from the vSphere Client.
3 Click the System tab to gather information about the appliance or click Reboot or Shutdown, as required.
4 Click the Network tab and click Status for information about current network settings.
5 Click the Network tab and click Address to configure network settings. You can configure the backup
appliance to obtain its address from a DHCP or you can manually configure IP settings.
6 Click the Network tab and click Proxy to configure proxy settings. You can configure the backup appliance
to use a proxy server and provide the proxy server's name or IP address and port.
NOTE In vSphere Client under Inventory > Hosts and Clusters, the status for VMware Tools of the Data
Recovery appliance status will indicate that it is Unmanaged. It is not necessary to update the VMware Tools
on the Data Recovery appliance.
Prerequisites
Before using the Getting Started Wizard, you must complete the process described under Connect the Backup
Appliance to vCenter Server.
18 VMware, Inc.
Chapter 3 Using VMware Data Recovery
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 In the Credentials page, enter a username and password and click Next.
Data Recovery uses this information to connect to vCenter to perform backups, so the specified user
account must have administrative rights.
3 In the Backup Destinations page, select a backup destination from the list of choices.
4 In the Backup Destinations page, select the tasks that you want to perform.
n To rescan the SCSI bus for new SCSI devices, click Refresh.
n To format a virtual disk that has been added to the appliance, click Format. After formatting
completes, the disk appears as scsi:x:y. For disks that already contain data, use Mount rather than
format.
n To mount a disk containing an existing deduplication store, click Mount.
n To mount the CIFS share, click Add Network Share and provide credentials. These credentials are
stored in the appliance, so remounting is completed automatically if the appliance is rebooted.
5 Click Next.
The initial system configuration is now complete and the Create a New Backup Job wizard opens by default.
Use the Create a New Backup Job wizard, as described in “Using Backup Jobs,” on page 19 to create a backup
job.
Virtual Machines
You can specify collections of virtual machines, such as all virtual machines in a datacenter, or select individual
virtual machines. If an entire resource pool, host, datacenter, or folder is selected, any new virtual machines
in that container are included in subsequent backups. If a virtual machine is selected, any disk added to the
virtual machine is included in the backup. If a virtual machine is moved from the selected container to another
container that is not selected, it is no longer part of the backup.
Destination
You can store backups on network shares, in VMDKs, or on RDMs. If you are storing backups on a network
share and the network share on which you want to store the backup is not available, you can add a network
share. For more information, see “Add a Network Share,” on page 21.You must format and partition VMDKs
and RDMs to store backups. You can format or partition destinations that are not yet formatted or partitioned.
For more information, see “Formatting a Volume,” on page 21.
Backup Window
By default, backup jobs run at night on Monday through Friday and at any time on Saturday and Sunday. Data
Recovery attempts to back up each virtual machine in a job once a day during its backup window. If the backup
timeframe for the backup window passes while the backup is in progress, the backup is stopped. The backup
restarts when the backup window opens. This means that if there are too many virtual machines for Data
Recovery to back them all up during the first specified window, some virtual machines may not be backed up.
Eventually Data Recovery will complete backup of all virtual machines and subsequent backups typically fit
VMware, Inc. 19
VMware Data Recovery Administration Guide
within one backup window. If some machines are not backed up during a window, those machines are given
higher priority during subsequent backup windows. This helps ensure that all virtual machines are backed up
as often as the back windows and resources allow, and prevents the case where some virtual machines are
always backed up and some are never backed up.
Retention Policy
Data Recovery backups are preserved for a variable period of time. You can choose to keep more or fewer
backups for a longer or shorter period of time. Keeping more backups consumes more disk space, but also
provides more points in time to which you can restore virtual machines. As backups age, some are
automatically deleted to make room for new backups. You can use a predefined retention policy or create a
custom policy. The backup policy is once a day during the backup window.
Ready to Complete
Review the settings for the backup job. This page includes information including:
n Which virtual machines will be backed up by this job.
n Where the backups for the specified virtual machines will be stored.
n The schedule on which virtual machines will be backed up.
n The number of backups that will be kept for the segments of time. For example, the number of backups
that will be kept for each month.
Prerequisites
Before using the Backup Job Wizard, you must establish a VMware Data Recovery configuration. This can be
completed using the Getting Started Wizard, as described under “Use the Getting Started Wizard,” on
page 18.
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
3 In the Virtual Machines page, select individual virtual machines or containers that contain virtual
machines to be backed up and click Next.
4 In the Backup Window page, accept the default times or specify alternate backup windows and click
Next.
5 In the Retention Policy page, accept the default retention policy or specify an alternate retention policy
and click Next.
6 In the Ready to Complete page, reviewed the summary information for the backup job and click Next.
20 VMware, Inc.
Chapter 3 Using VMware Data Recovery
Provide information about a network share on which VMware Data Recovery can store backups. Information
typically required includes:
n URL - Enter the IP address server name for the server hosting the network share.
n User name - The user name for an account with the required write privileges for the network share.
n Password - The password for the user account.
For information on adding a hard disk to the backup appliance, see “Add a Hard Disk to the Backup
Appliance,” on page 15.
Formatting a Volume
VMware Data Recovery can store backups on network volumes, VMDKs, and RDMs. Networked volumes
might not require formatting, but VMDKs and RDMs must be formatted before they can be used.
Formatting a volume automatically formats and partitions the space. As a result, any data that is stored in this
space is erased. As required, format the volume you intend to use for backup storage.
Bring to Compliance
You can make Data Recovery open the backup window for selected backup jobs until all applicable virtual
machines are backed up. You may want to use this feature to create an initial set of backups after Data Recovery
is first installed or to force all virtual machines backups to be made current. Virtual machines that have been
backed up in the last 24 hours, regardless of how much they have changed since their last backup, are not
backed up by Bring to Compliance.
Prerequisites
Before using the Bring to Compliance option, you must have installed and configured Data Recovery and you
should have at least one backup job.
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 Click the Backup tab, right-click a backup job, and click Bring to Compliance.
The backup window is held open so that backups can be performed on each virtual machine that has not been
backed up in the last 24 hours. After these virtual machines are backed up, the backup window is returned to
its previously defined configuration.
Prerequisites
Before you can lock restore points or mark them for removal, you must have installed and configured Data
Recovery and you must have at least one restore point.
VMware, Inc. 21
VMware Data Recovery Administration Guide
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 Click the Restore tab, and select one or more restore points.
Restore points marked for deletion are deleted during the next integrity check or reclaim operation.
Data Recovery provides means to test how a virtual machine would be restored and to actually carry out restore
operations. Restore rehearsals create virtual machines from restore points. Virtual machines from restore
rehearsals do not replace current virtual machines, but virtual machines create through restore rehearsals do
provide a way to ensure that virtual machine backups are being created as expected and that they can be
successfully restored. Actually restoring virtual machines returns specified virtual machines to a selected
previous state.
For both restore rehearsals and restores, the Restore Virtual Machines wizard provides pages that allow you
to configure from where and to where virtual machines are restored.
Source Selection
When choosing a source, select from the tree view of backed up vSphere objects. Select those virtual machines
and virtual disks to be restored. You can use filters to view a subset of all available choices. Much like with
creating back up jobs, you can specify collections of virtual machines, such as all virtual machines in a
datacenter, or select individual virtual machines or vmdk files to restore. If multiple restore points are selected
for a single virtual machine, Data Recovery restores the virtual machine to the most recent restore point
selected.
Destination Selection
This page provides a tree view of the location to which backed up vSphere objects will be restored and how
those objects will be configured when they are restored. If your inventory hierarchy changed since the time of
the backup, inventory object paths that no longer exist are shown as grayed out. You must move virtual
machine files that were backed up from locations that no longer exist to valid destinations before you can
perform the restore operation. You can reconfigure options such as:
n The datastore and virtual disk node to which the files will be restored.
n Whether the configuration will be restored. If configuration is not restored, configuring some other options
may not be supported. For example, if the configuration is not restored, it may be possible to configure
whether the virtual machine will be powered on, but not whether the NIC will be connected.
n Whether the NIC will be connected.
n Whether the virtual machine will be powered on.
It is possible to move virtual machines and VMDKs to different locations either by dragging and dropping
them, or by selecting new destinations from the popup tree. To see more information about the existing
inventory, click the link at the top of the page.
To clone a virtual machine, rename the virtual machine you are restoring.
If the default credentials provided for backup do not have privileges for restore, you can specify alternate
credentials.
22 VMware, Inc.
Chapter 3 Using VMware Data Recovery
Ready to Complete
Review the settings for the backup job. This page includes a tree-style representation of what will be restored
and summary information. The tree-style representation includes information such as:
n Object names.
n When the restore point was created.
n Which datastore will be used as the destination for restored virtual machines or virtual disks.
n Virtual disk node information.
n Whether the configuration will be restored.
n Whether the NIC will be connected.
n Whether the virtual machine will be powered on.
NOTE If there is insufficient space on the destination datastore to complete the restore, a warning is displayed.
Specify alternate datastores with increased capacity or accept the possibility that restores may not complete as
expected.
Prerequisites
Before you can complete a restore rehearsal, you must have configured VMware Data Recovery and have at
least one backup.
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 Right-click a virtual machine that has a backup and select Restore Rehearsal.
The Virtual Machine Restore Wizard appears displaying the ready to complete page.
3 Click Restore to complete the restore rehearsal or click Back to modify settings.
A version of the virtual machine is restored to the inventory. The virtual machine created in the restore rehearsal
has all NICs disconnected. This avoids the case where the trial restoration produces a virtual machine that
starts completing tasks intended for an existing unrestored virtual machine.
What to do next
Next you may want to delete the virtual machine that was created in testing the restore process.
VMware, Inc. 23
VMware Data Recovery Administration Guide
Prerequisites
Before you can restore virtual machines, you must have configured VMware Data Recovery and have at least
one backup to which to restore.
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 Enter the virtual machine name or IP address of the backup appliance and click Connect.
3 Click the Restore tab and click the Restore link to launch Virtual Machine Restore Wizard.
4 On the Source Selection page, specify a source from which to restore virtual machines and click Next.
5 On the Destination Selection page, specify how restored machines will be configured and click Next.
6 On the Ready to Complete page, review the configuration and click Finish.
File Level Restore (FLR) addresses these issues by providing a way to access individual files within restore
points for Windows virtual machines. This access makes it possible to read copies of files or restore them from
within restore points to any other available location. For example, FLR makes it possible to create two copies
of a file so the versions could be compared, or FLR could overwrite an existing file with an older version
contained in the restore point, effectively reverting to a previous version.
Note that using FLR to access files in restore points only provides a way to read their contents. You cannot use
FLR to modify the contents of a restore point. While FLR does not modify the contents of any restore points,
some applications may make it appear that changes are occurring. For example, dragging and dropping a file
from a restore point to another location may result in the file being removed from the list. This change does
not reflect what has occurred. To confirm that the restore point contents have not been modified, refresh the
view and note that all files are unchanged.
When FLR is invoked, all files required to complete file level restores are extracted from the executable.
Similarly, when the FLR session ends, not only are all connections with restore points closed, but all files that
were extracted are removed from the system.
When FLR starts, it establishes a connection with the Data Recovery backup appliance. FLR works in
conjunction with VMware’s Virtual Disk Development Kit (VDDK) to access information about the contents
of restore points. All restore points are displayed, but FLR can only mount restore points for compatible
Windows virtual machines.
24 VMware, Inc.
Chapter 3 Using VMware Data Recovery
When a restore point is mounted, a junction point is created on the virtual machine's local disk. The junction
point is a directory that has the same name as the restore point. It contains a directory for each mounted disk
associated with that restore point. Users can browse the contents of the vmdk disk files for the restore point
for the virtual machine. Any files on the disk files for the selected restore point can then be copied to a location
of the user’s choosing.
After file level restore operations have been completed, you can choose to unmount individual restore points
by selecting a restore point and click Unmount, or you can choose to unmount all restore points by clicking
Unmount All.
After exiting FLR, all files that were extracted to enable FLR functionality are removed. Note that if FLR exits
unexpectedly, previously extracted files are not removed. The number and size of files is not significant, so if
an unexpected exit occurs, it is not imperative to clean up the files that remain. Upon the next use of the
executable, any files that were left behind are used, and when subsequent sessions are ended, these residual
files are removed from the system.
Install FLR
Install FLR on a Windows XP or later virtual machine by copying the FLR executable to a virtual machine.
Procedure
3 Copy the FLR client executable from the installation CD at <Drive Letter>:/WinFLR/
VMwareRestoreClient.exe to the virtual machine that will use the FLR client.
The FLR client is now ready for use on the Windows virtual machine.
Prerequisites
The FLR client can be used by users with Administrator privileges in virtual machines running Windows XP
or later. The FLR client requires the .NET 2.0 framework. For FLR to be relevant, it is valuable to have a backup
appliance with restore points. FLR can be installed to an environment that does not have a backup appliance
or restore points, but without those things, the client will not be useful. In standard mode, files can only be
restored for the virtual machine you are logged in to. FLR does not work with restore points for virtual machines
that use GUID partition tables (GPT).
Procedure
1 Start the Windows virtual machine in which you will use FLR.
3 In the IP address / Name drop-down, select a Data Recovery appliance or enter the name or IP address
of the appliance to which to connect and click Login.
FLR displays a list of all available restore points for the current virtual machine.
VMware, Inc. 25
VMware Data Recovery Administration Guide
The selected restore point is mounted as a directory on the local disk of the virtual machine being used.
The contents of the restore point are now available and can be browsed from the virtual machine.
6 When finished browsing or restoring files, click Unmount All and quit FLR.
Prerequisites
The FLR client can be used by users with Administrator privileges in virtual machines running Windows XP
or later. The FLR client requires the .NET 2.0 framework. For FLR to be relevant, it is valuable to have a backup
appliance with restore points. FLR can be installed to an environment that does not have a backup appliance
or restore points, but without those things, the client will not be useful. In advanced mode, files can be restored
for any virtual machine that has been backed up. You must have access to an account with administrative
privileges in vCenter to use advanced mode. FLR does not work with restore points for virtual machines that
use GUID partition tables (GPT).
Procedure
1 Start the Windows virtual machine in which you will use FLR.
a Under Data Recovery Appliance, in the IP address / Name drop-down, select a Data Recovery
appliance or enter the name or IP address of the appliance to which to connect.
b Under vCenter Server, in the IP address / Name drop-down, select a Data Recovery appliance or enter
the name or IP address of the appliance to which to connect.
c Under vCenter Server, in User name enter the name of a user with vCenter administrative privileges.
d Under vCenter Server, in Password enter the password for the previously specified administrative
user.
e Click Login.
FLR displays a list of all available restore points for any backed up virtual machines on the Data Recovery
appliance to which you are connected.
The selected restore point is mounted as a directory on the local disk of the virtual machine being used.
The contents of the restore point are now available and can be browsed from the virtual machine.
7 When finished browsing or restoring files, click Unmount All and quit FLR.
26 VMware, Inc.
Chapter 3 Using VMware Data Recovery
Unable to connect to the backup virtual machine. Check that the virtual machine is listed under the Host and
Clusters view of the inventory. Make sure that the IPv4
address of the Data Recovery appliance is correct.
Data Recovery fails to complete backups with the error disk Data Recovery requires disk space for indexing and
full error -1115, but the disk is not full. processing restore points. As a result, Data Recovery
typically needs enough free space to accommodate the size
of the virtual machine backups plus an additional 10 GB. For
example, to create a restore point for a single 10 GB virtual
machine, a total of 20 GB should be available. To resolve this
issue, add additional hard disks to the backup appliance.
The NFS share is not working as expected. NFS is only supported if the share is presented by an ESX
Server and the VMDK is assigned to the appliance. NFS
shares cannot be mapped directly to the appliance.
Data Recovery has crashed. Is the system state fine? Because the state of the appliance is stored in the
deduplicated store, it can be restored. Reinstall the Data
Recovery appliance to the ESX host, and configure the
appliance to point to the existing deduplicated store.
The backup appliance is connected to vCenter Server and a If the vSphere Client crashes after applying changes, restart
crash has occurred. the vSphere Client and reconnect to the backup appliance.
A valid network name is entered, but Data Recovery does In some cases, name resolution might not work. Try using
not connect. the IP address for the desired target.
Backup and restore operations are not completing as An integrity check may have discovered a problem with the
expected. integrity of the deduplication store.
The integrity of new backups is checked each day, and the
entire deduplication store is checked once a week. If
problems are found during the integrity check, the
deduplication store is locked. As a result, no backups or
restores can be performed until the issues reported by the
integrity check are fixed. To resolve this issue, select the
problematic restore points on the restore tab, and click Mark
for Delete. These restore points are deleted during the next
integrity check, after which the deduplication store is
unlocked.
If no integrity check problem has been identified, the issue
may be due to an excess of jobs. Data Recovery limits the
number of jobs that can run to help prevent systems from
becoming overloaded and failing to make progress. Some of
the limits include:
n Maximum of eight backup jobs can run at the same time.
n Maximum of eight restore jobs can run at the same time.
n Processor must not exceed 90 percent utilization if a job
is to start.
n Deduplication store must have at least 5GB of storage
space available for each job.
If any of these limits are exceeded, new jobs do not start.
Data Recovery backup appliance is unmanaged. This behavior is expected. The backup appliance is not
managed by vSphere Server or other services such as Update
Manager. It is not necessary and may not be possible to
manage the backup appliance.
VMware, Inc. 27
VMware Data Recovery Administration Guide
If you have problems that cannot be resolved using these troubleshooting tips, you can open a service request
with VMware technical support. Before contacting technical support, consider gathering Data Recovery log
files and hidden logs and executing the log gathering script. For more information on executing the log
gathering script, see http://kb.vmware.com/kb/1012282.
You may also choose to review the verbose Data Recovery logs to determine if any helpful information is
available there.
Damaged restore points are identified during an integrity check. Any damaged restore points should be
removed as they may block Data Recovery processes such as grooming. Review the Operations Log to find
entries that refer to damaged restore points. If the log indicates that there are damaged restore points in your
environment, remove them by either finding them in the inventory or finding all damaged restore points. After
damaged restore points have been marked for deletion, run another integrity check to complete the process.
Prerequisites
Before you can remove damaged restore points, you must have restore points in a functioning Data Recovery
deployment.
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 Click the Reports tab and double-click the integrity check that failed.
The Operations Log for the event opens in a separate window. Note which restore points triggered the
failure.
Available restore points are filtered to display only the virtual machines with damaged restore points. It
may be necessary to expand a virtual machine's node to display the damaged restore point.
5 Select damaged restore points for removal and click Mark for Delete.
Completing an integrity check causes all restore points marked for deletion to be removed.
7 Review the results of the integrity check to ensure no damaged restore points remain.
28 VMware, Inc.
Chapter 3 Using VMware Data Recovery
Prerequisites
Before completing this procedure, the backup appliance must be powered on.
Procedure
1 Right-click the backup appliance virtual machine and choose Open Console.
It is recommended that the default username and password be changed as soon as the backup appliance
is installed. If this was not changed, the default credentials are username: root, password: vmw@re.
3 Stop the datarecovery service using the command service datarecovery stop.
4 Using an editor of your choice, modify the datarecovery.ini file. If the datarecovery.ini file does not exist,
create a file called datarecovery.ini in /var/vmware/datarecovery.
If you are creating a new datarecovery.ini file, the first line in the file must be [Options]. The
datarecovery.ini file is case sensitive.
6 Restart the datarecovery service using the command service datarecovery start.
datarecovery.ini Reference
Modify the settings in the ini file to affect the way that Data Recovery operates.
VMware, Inc. 29
VMware Data Recovery Administration Guide
30 VMware, Inc.
Chapter 3 Using VMware Data Recovery
It is possible to view the logs for a single backup appliance. To review all logging information in an environment
with multiple appliances, it is necessary to connect to each appliance and review that appliance's logs.
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 Enter the virtual machine name or IP address of the backup appliance and click Connect.
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 Enter the virtual machine name or IP address of the backup appliance and click Connect.
3 Click the Configuration tab and holding down the Shift key, click the Log link.
4 Click Client Log, Appliance Operations Log, or Appliance Assert Log, depending on the information
you require.
VMware, Inc. 31
VMware Data Recovery Administration Guide
5 To modify the logging level, hold down the Shift key and click Refresh Log.
6 Click the up or down arrows on Logging Level to override the default settings.
Procedure
1 In the vSphere Client, select Home > Solutions and Applications > VMware Data Recovery.
2 Enter the virtual machine name or IP address of the backup appliance and click Connect.
If the connection succeeds, you can view normal logs, as described in “View the Data Recovery Logs,” on
page 31. If the connection fails, continue with this procedure.
32 VMware, Inc.
Index
A I
adding installing
network share 21 backup appliance 14
storage 15 client 13
data recovery 11
B integrity check 9
backup introducing, data recovery 7
manual 21
process 7 L
scaling 7 licensing 7
backup appliance
configuring 18
N
installing 14 network share, adding 21
power on 17
backup job R
creating 19, 20
recatalog 9
options 19
reclaim 9
backup job wizard, using 20
restore rehearsal 22, 23
bring to compliance 21
restoring, virtual machines 22, 24
restoring files, flr 25
C
client, installing 13
configuring S
backup appliance 18 scaling
backup 7
data recovery 17
creating, backup job 19 data recovery 11
deduplication 9
D storage, adding 15
data recovery supported storage 7
configuring 17
prerequisites 11 T
scaling 11 troubleshooting 27
deduplication
best practices 9 U
scaling 9 understanding, flr 24
using, getting started wizard 18
F
file level restore, See flr V
virtual machines, restoring 22, 24
firewalls 13
Volume Shadow Copy Service, See also VSS
flr
restoring files 25 volumes, formatting 21
VSS
understanding 24
benefits 8
support 8
G
getting started wizard, using 18 understanding 8
VMware, Inc. 33
VMware Data Recovery Administration Guide
34 VMware, Inc.