Solved

Backing up Virtual Machines in Hyper-V

Posted on 2013-11-22
7
836 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 36

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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
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…

856 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