Home > Windows Server Tips > Windows Server Monitoring and Management > Backing up virtual servers: Top methods for Windows machines
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SERVER MONITORING AND MANAGEMENT

Backing up virtual servers: Top methods for Windows machines


Brien M. Posey, Contributor
07.30.2008
Rating: -2.00- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Brien M. Posey

If you are planning to add virtual servers to your organization, you must first figure out how to back them up. Let's take a look at two different methods for backing up virtual machines, with insight into the pros and cons of each one.

Method 1: Run backup software directly on the virtual machine

The first method for backing up a virtual server is to install a backup application or a backup agent on the virtual machine, and then back up the virtual server in the same way that you would back up a physical server.

The primary advantage of this method is consistency, as you can continue to use the backup process that your organization already has in place, rather than complicating things by adopting a special procedure for virtual machines. Another important advantage is that you can easily back up a virtual server while it is running.

Although virtual server performance has improved, a virtual server will never perform as well as a physical  [one] because of the extra overhead required by the emulation process.

The cons associated with running backup software directly on a virtual machine vary depending upon which virtual server product you're using. For the purposes of this article, I'm going to limit my discussion to Microsoft Virtual Server.

One disadvantage to running backup software directly on a virtual server is performance. Although virtual server performance has improved over the last year or two, a virtual server will never perform as well as a physical server because of the extra overhead required by the emulation process. That being the case, you may find that it takes longer to back up a virtual server then it does to back up a comparable physical server.

Performance can suffer even more if multiple virtual machines are running simultaneously. If multiple virtual machines are sharing a common hard disk or network adapter, then the backup's performance may be seriously impacted.

Fortunately, you can get around some of these performance issues by doing some planning ahead of time. For example, you should consider placing all of your virtual hard drives on high-performance disk arrays. That will help reduce the bottlenecks associated with having multiple virtual machines sharing a common pool of disk resources. Likewise, you might consider installing multiple network adapters and having each one service a specific virtual machine as a means of reducing the network bottleneck.

Another disadvantage to running backup software directly on a virtual machine is that virtual servers offer limited hardware support. Remember, the host operating system actually contains the drivers to communicate with the physical hardware. The guest operating system is running on an emulator that copies certain types of hardware. Because of this, backup hardware that is connected directly to the server that the virtual machines are running on may not be supported.

Here's an example of why this might be the case: Microsoft's virtual server products do not currently support USB devices. This is true even for the Hyper-V virtual server product designed for Windows Server 2008. If something as important as USB support has been left out, you can only imagine what would happen if you tried to link a virtual machine to more specialized hardware.

Method 2: Copy the .VHD and .VSV

The other method you can use to back up a virtual machine is to simply copy the virtual hard drive file (.VHD) and saved state file (.VSV). The primary benefit to using this method is simplicity. After all, how hard is it to copy a couple of files? Another advantage is that you can back up the virtual machine's current state, which is usually not the case with traditional backups.

More on managing
virtual machines

What's in a name: Keeping track of virtual servers

Virtualization and 64-bit: A match made in Windows heaven

Still, there is one really big disadvantage to using this method -- you can only perform this type of backup when the virtual machine is shut down. If you try to use a Volume Shadow Copy Service snap shot to back up the virtual machine while it is running, data loss or even corruption may occur.

So which backup method should you use? It really depends on the nature of the virtual machines that you're backing up. For example, I have several virtual machines installed on my laptop and I back them up using the file copy method. This is feasible because I only use those virtual machines for lab purposes, so they are not running all the time. I also use a few virtual machines on my production network, which I back up using the traditional backup method because it's simply not practical for me to shut them down every time I want to run a backup.

The point is, when deciding which backup method you want to use, you will have to consider how the virtual servers are being used and which method would be most practical for you.

Brien M. Posey, MCSE, has received Microsoft's Most Valuable Professional Award four times for his work with Windows Server, IIS and Exchange Server. He has served as CIO for a nationwide chain of hospitals and healthcare facilities, and was once a network administrator for Fort Knox. You can visit his personal Web site at www.brienposey.com.


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Windows Server Virtualization and Microsoft Hyper-V
Citrix Essentials adds support for Windows Server 2008 R2
Availability in the virtualized Windows server
Converting Citrix XenServer source machines to Hyper-V format
Hardware considerations for Windows server virtualization
Converting VMware ESX machines to Hyper-V format
Connecting Hyper-V hosts to iSCSI targets in Windows
Scaling Windows server resources for virtualization
VMM 2008 R2 hits RTM, denied at VMworld
When to use VM backups versus snapshots in Hyper-V
Migrating virtual machines from Microsoft Virtual Server to Hyper-V

Microsoft Windows Data Backup and Protection
Are security concerns over cloud computing unfounded?
How to configure backups and perform restores in Windows Server 2008
When to use VM backups versus snapshots in Hyper-V
Microsoft Hyper-V: Best practices for performance, backups and management
Working with snapshots in Microsoft Hyper-V
Self-healing NTFS keeps admins one step ahead of data corruption
The efficacy of backup-as-a-service solutions
Using WBAdmin to create backups in Windows Server 2008
Breaking down the Windows Server Backup tool for Windows 2008
Moving dynamic disks to a new Windows server
Microsoft Windows Data Backup and Protection Research

Windows Server Monitoring and Management
BitLocker in R2 provides data protection for semi-protected servers
Perfmon made easy with PAL utility
Converting Citrix XenServer source machines to Hyper-V format
Balancing Windows security with reasonable password policies
Windows AppLocker in R2: Turning conventional security wisdom on its head
Top 10 things you don't know about Windows Server 2008 R2
BranchCache makes branch offices feel like home
When to use VM backups versus snapshots in Hyper-V
Installing Server Core for Windows 2008 the easy way
Migrating virtual machines from Microsoft Virtual Server to Hyper-V

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Microsoft Hyper-V version 1.0  (SearchWindowsServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts