On Windows systems,
you can use a Microsoft Hyper-V
server to host virtual machines.
You can use the Tivoli® Storage
Manager backup-archive
client for these tasks on Hyper-V systems:
- Back up and restore snapshots of Hyper-V virtual machines by using
the Microsoft Volume Shadow
Copy Services (VSS) interface. You can restore a virtual machine
from these files, which are created by VSS.
- Restore either individual virtual machines or a group of virtual
machines that are running on a Hyper-V server.
- Back up data without stopping the virtual machine or stopping
any running applications within the virtual machine.
- Add backup and restore support for guest operating systems without
installing a Tivoli Storage Manager client
on the guest VM.
- Back up and restore any guest operating systems
that are hosted by the Hyper-V server on remote shares, regardless
of whether the guest operating system is supported by Tivoli Storage Manager.
For both disaster recovery and long-term data backup support, perform
these steps:
- Install the Tivoli Storage Manager client
on the Hyper-V host Windows 2008
or Windows 2012 operating
system (referred to as the parent partition).
- On the Tivoli Storage Manager server,
define a single node for the Hyper-V system.
- Back up a running virtual machine:
- From the Tivoli Storage Manager GUI Backup panel,
expand the Hyper-V VMs container, and select the virtual machine to
back up.
- You can also enter dsmc backup vm -vmlist=vm1 -vmbackuptype=HyperVFull at
a Tivoli Storage Manager command prompt,
where vm1 is the name of the virtual machine.
Important: - If the virtual machine is not fully VSS-compliant (the operating
system supports VSS, and all virtual hard disks (VHD) are configured
to support VSS):
- The virtual machine that is running pauses
- A snapshot is taken
- The virtual machine resumes
- Restore a virtual machine:
- From the Tivoli Storage Manager GUI Restore panel,
expand the Hyper-V VMs container, and select the virtual machine to
restore.
- You can also enter: dsmc restore vm1 -vmlist=vm1 - vmbackuptype=HyperVFull at
a Tivoli Storage Manager command prompt,
where vm1 is the name of the virtual machine.
Important: When you restore a virtual
machine, the existing virtual machine is stopped, and all files that
comprise the existing virtual machine (for example, VHD files) are deleted. If
the virtual machine is a member of a Windows Server
2012 cluster, the virtual machine is taken offline from the cluster,
which stops the virtual machine, the files are deleted, and then the
virtual machine is restored from the Tivoli Storage Manager backup.
When the backup snapshot is restored, the virtual machine is re-created,
including any Hyper-V snapshots that existed when the files were backed
up.
To schedule backups of Hyper-V virtual machines, create
a schedule on the server to run the backups. When you define the
schedule, specify
ACTION=BACKUP,
SUBACTION=VM,
and add the
-VMBACKUPTYPE=HYPERVFULL option to the
OPTIONS parameter.
The following shows a sample schedule definition for backing up Hyper-V
virtual machines:
define sched standard HyperV-Backup type=client description="backup hyperv vms"
action=backup subaction=vm options="-vmbackuptype=hypervfull"
On
the client system, add the virtual machines to be processed, when
the scheduled backup is run, to the
VMLIST option
in the
dsm.opt file. For example,
VMLIST VM1,VM2,VM99