Solved

Backing up Virtual Machines in Hyper-V

Posted on 2013-11-22
7
823 Views
Last Modified: 2014-11-12
Hi,
 
 If I have several virtual machines on Hyper-V (Windows Server 2012) for example,  XP, Win7, Win Svr 2008, SBS2011. If I like to back up each virtual machine, should I attach one external USB Hard Drive for each VM and set up Backup Schedule on each VM?

Thanks.
0
Comment
Question by:sglee
  • 3
  • 3
7 Comments
 
LVL 35

Expert Comment

by:Mahesh
ID: 39670995
Yes you can backup Hyper-v 2012 individual VMs on external drive with predefined schedule

Only the fact is I am not sure the reliability of USB HDD in terms of it read write capacity and strudyness

instead you can add server class HDD, might be in Raid-1 or raid-5 configuration depending upon your server disk availability for backup
OR you can attach SAN FC as disk volume on Hyper-V server and backup your VMs on that volume
This will ensure reliable and better performance for backup
http://workinghardinit.wordpress.com/2012/08/13/windows-server-backup-benefits-from-improvements-in-windows-server-2012/
http://virtualizationreview.com/blogs/virtual-insider/2013/02/back-up-hyper-v-vms.aspx

Mahesh
0
 
LVL 20

Accepted Solution

by:
Svet Paperov earned 315 total points
ID: 39671377
It depends on the purpose of the backup, what you would be asked to restore, and your budget. In most cases, you would have a mixed solution:

- Backing up on the host level for disaster recovery (host and all virtual machines) and
- Backing up on some of the virtual machines for restoring data inside of the VM without restoring the whole VM.  

Even if you have host level backup only, it is possible to restore a file from inside the VM but you need to restore the whole VM first and attach the VHD disk. However some enterprise class backup solutions (not the included Windows Backup) allow recovering from inside of the VM without restoring the whole VM.

Another consideration when you do a host level backup: client OS, like Windows XP, Windows 7 (except for Enterprise edition) and Linux-based OS do not support VSS and the VMs will be put in Saved state before backing them up.

About the backup tools:

- Windows Server Backup and the command-line based wbadmin are free tools part of Windows Server 2008 and later
- WSBackup allows backing up to a locally attached device – a USB disk, or an iSCSI target – and it can perform incremental backups
- Wbadmin can be scheduled via Task Scheduler to back up on network share. However, it does full backups only.
- There same unexpressive tools like BakcupAssist, for example, that add a GUI to wbadmin allowing more flexible schedules
- And then, there are the enterprise class backup solutions from CA, Symantec, Veeam, etc.
0
 

Author Comment

by:sglee
ID: 39671437
Thanks for the information.

If I schedule Windows Server Backup on Windows 2012 and back up everyday, will it backup all the virtual machines every day incrementally? If that is the case, then the server backup will save every single changes made to all the VMs daily on the backup drive. In other word, I don't need to backup each VM to respective external USB drive. Am I assuming right?
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 20

Expert Comment

by:Svet Paperov
ID: 39671442
That's correct.
0
 

Author Comment

by:sglee
ID: 39671453
Then I won't bother backing up each individual VMs and use Windows Server backup on W2012.
In terms of restoring then, I should be able to select a specific date during restore process and restore specific files/folders off certain virtual machine?
0
 
LVL 20

Expert Comment

by:Svet Paperov
ID: 39671563
Yes, but by specific files, it means the whole VHD/VHDX.

If you need a file inside of the VM you will have to restore the VHD file to a different location and open it on the host or attach it to a VM to extract the file.

Backing up with Windows Backup on the host level is for disaster recovery, when you need to recover a VM in full, for example. If you have a VM running a file server, on the other hand, it will be more efficient to implement a backup from inside the VM so you would be able to restore files without restoring the whole VHD first.

As I sad in my first post, there are enterprise class solutions that allow restoring an individual file from inside the VM without restoring the whole VHD first but Windows Backup lacks that capability.
0
 

Author Comment

by:sglee
ID: 39671762
Thanks for the information and I appreciate it. As you suggested, I will do Windows server backup for disaster situations like server  hardware failure and raid corruption... etc. For file/folder recovery, I will still do Windows backup within VMs as I see fit.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now