Backing up virtual machines in Hyper-V: theory question

Hello!
This article http://msdn.microsoft.com/en-us/library/dd405549%28v=vs.85%29.aspx says:
"Hyper-V uses the Volume Shadow Copy Service (VSS) to backup and restore virtual machines (VMs).
If the backup (volume snapshot) integration services are installed in the guest operating system, a VSS requester is installed that will allow VSS writers in the guest operating system to participate in the backup of the VM. "
Backing Up the Virtual Machines
Hyper-V uses one of two mechanisms to back up each VM. The default backup mechanism is called the "Saved State" method, where the VM is put into a saved state during the processing of the PrepareForSnapshot event,snapshots
are taken of the appropriate volumes, and the VM is returned to the previous state during the processing of the PostSnapshot event."
The other backup mechanism is called the "Child VM Snapshot" method, which uses VSS inside the child VM to participate in the backup....
Backup (volume snapshot) Integration Service is installed and running in the child VM.
The child VM must be in the running state."
Putting it all together: the backup integration services are installed in the guest operating systems by default (at least in Win2008-2012R2), but "The default backup mechanism is called the "Saved State" method,...",
wich does NOT use child vm snapshot creation. It means that checking the "Backup (volume checkpoint)" checkbox changes nothing (at least with running VMs) because the default method is "Saved state":
Q1: if the default method is "Saved state" and my VMs are running what should I do to take a backup by using
"Child VM Snapshot" method?
Q2: is there any difference between a backup created by method 1 and method 2?
Thank you in advance,
Michael

Hi,
The two backup mechanisms used in the different backup scenario:
Short to say is:
Perform a backup from the server running Hyper-V
(host).
Perform a backup from
within the guest operating system of a virtual machine.
The detail explain is:
There are two basic methods you can use to perform a backup. You can:
Perform a backup from the server running Hyper-V. We recommend that you use this method to perform a full server backup because it captures more data than the other method. If the backup application is compatible with Hyper-V and the Hyper-V
VSS writer, you can perform a full server backup that helps protect all of the data required to fully restore the server, except the virtual networks. The data included in such a backup includes the configuration of virtual machines, snapshots associated with
the virtual machines, and virtual hard disks used by the virtual machines. As a result, using this method can make it easier to recover the server if you need to, because you do not have to recreate virtual machines or reinstall Hyper-V. However, virtual networks
are not included in a full server backup. You will need to reconfigure the virtual networking by recreating the virtual networks and then reattaching the virtual network adapters in each virtual machine to the appropriate virtual network. As part of your backup
planning, make sure you document the configuration and all relevant settings of your virtual network if you want to be able to recreate it.
• Perform a backup from within the guest operating system of a virtual machine.
Use this method when you need to back up data from storage that is not supported by the Hyper-V VSS writer. When you use this method, you run a backup application from the guest operating system of the virtual machine. If you need to use this
method, you should use it in addition to a full server backup and not as an alternative to a full server backup. Perform a backup from within the guest operating system before you perform a full backup of the server running Hyper-V. For more information about
storage considerations, see the following section.
The related KB:
Planning for Backup
http://technet.microsoft.com/en-us/library/dd252619(v=ws.10).aspx
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • AVHD files not being deleted by Hyper-V when DPM backs up virtual machines

    Hi,
    I understand DPM uses checkpoints to backup Hyper-V virtual machines.
    We have seen a few instances whereby the AVHD files that are created at the time DPM backs up the VM are not being deleted on the CSV disk.
    There are no checkpoints associated with the virtual machine in Hyper-V settings.
    We did delete one of these AVHD files on a non-production system and it was successful, the AVHD files are not being used by the virtual machine.
    Is it safe to delete these AVHD files? Anyone experienced anything similar?
    Microsoft Partner

    Hi
    Could you please let su know if you have acrried out any ILR operations?
    When you recover a VHD of a virtual machine that has Hyper-V snapshots, .avhd files are not displayed in the
    Recoverable Items pane, but DPM recovers the parent VHD and all the associated .avhd files.
    Just want to confirm that these avhd files are not coresponding to recovery process.
    Regards, Trinadh [MSFT] This posting is provided AS IS with no warranties, and confers no rights. If you found the reply helpful, please MARK IT AS ANSWER. Looking for source of information for DPM? http://blogs.technet.com/b/dpm/ http://technet.microsoft.com/en-in/library/hh758173.aspx

  • Failed to revert to VSS snapshot on the virtual hard disk '\\?\Volume{0f7b010b-f397-11e0-a76b-002655db9b10}\' of the virtual machine | Using HYPER-V 2008 R2

    Hi,
    I got this error on one of the VM (web server) backed up usng HYPER-V 2008 R2 and when I looked up, there is an microsoft hotfix for the same issue.
    Microsoft KB Hotfix:
    A backup of virtual machines fails when you use the Hyper-V VSS writer to back up virtual machines concurrently on a computer that is running Windows Server 2008
    http://support.microsoft.com/kb/971394
    But, the VM (web server) is running Windows 2008 R2 - SP1.
    Hotfix says - To apply this hotfix, your computer must be running one of the following operating systems:
    Windows Server 2008
    Windows Server 2008 Service Pack 2 (SP2)
    Does it mean it does not apply to Windows 2008 R2 | SP1 ?
    When I checked the :
    Swprv.dll version, it was higher than the one mentioned in the hotfix.
    Thanks for any help.
    -Ashwin

    Hi Ashwin,
    I am assuming that the VM(web server) is using SQL .
    Please try to disable SQL Server VSS Writer in services.msc , then retry WSB again .
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Harddisk damage after sleep mode while running 3 virtual machine on Hyper-V

    Hi, I have laptop with specification Intel Core i3, 8 Gb ram, 500 Gb 5400 rpm Hdd. I am running 3 virtual machine on that laptop using Hyper-V. Each vm have 1 Gb ram and 1 core processor. I left the laptop for
    lunch. After comeback from lunch I see that laptop on sleep mode. I press the power button to turned back on the laptop, after the power is on, the harddisk won't boot and the disk become damage. Is there anyone could explain why that is
    happen?  Thanks  :)

    Hi Budi-Kurniawan,
    Based on your description, this issue shouldn’t be caused by current configurations on your environment (as
    you described: wake up from sleep mode while run 3 virtual machine on Hyper-V). I guess that there are some troubles in this harddisk. As Dave mentioned, please contact with laptop manufacturer and confirm it. I believe we will get a better assistance there.
    Best regards,
    Justin Gu

  • How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?

    Hi ,
    anybody know  How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?
    I want to create lab but i couldn't  I follow this article but the new VM is off
    http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install-hyper-v-on-a-virtual-machine-in-hyper-v.aspx
    one of hyper-v component is not running
    thanks

    Previously it has been blocked to install Windows Server in the VM and then add the Hyper-V Role.
    However, it has always been possible to install Hyper-V Server inside a VM. (the free Hyper-V Server SKU)
    The Hyper-V Server VM is fully manageable, but it cannot start any VMs.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • How to Allow microphone and all hardware in Virtual Machine using Hyper-v

    I have recently installed Windows 10 preview in Windows 8.1 pro.
    How i can allow Microphone and all things in virtual machine from Hyper-v
    Thanks
    Thank You , Shan Ali Khan

    You connect to the VM using the RDP Client - connecting to the IP / name of the VM over the network.
    This enabled all device redirection by default.
    You can possibly use Enhanced Session Mode as well.  That again uses RDP under the hood.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • Could not intialitize a virtual machine on Hyper-V Manager on a Windows 8.1 laptop

    Hello,
    I am receiving the following error when I try to start any virtual machine on Hyper-V Manager on a Windows 8.1 lap"color:black;">An error occurred while attempting to start the selected virtual machine(s):
    Morillo-DC could not initialize (Virtual Machine ID …)
    On the Event Viewer, I can see:
    Event ID 3040
    Log Name: Microsoft-Windows-Hyper-V-Worker/Admin
    Morillo-DC could not initialize (Virtual Machine ID …)
    Thank you in advance for any help.
    Regards,
    Alberto Morillo

    Hello,
    Hyper-V was working fine with Windows 8 before installing Windows 8.1 update.
    On the Applications and Services Logs (Event Viewer), I found the following event:
    Log Name:     
    Microsoft-Windows-Hyper-V-Worker-Admin
    Source:       
    Microsoft-Windows-Hyper-V-Worker
    Date:         
    12/16/2013 3:59:13 PM
    Event ID:     
    3040
    Task Category: None
    Level:        
    Error
    Keywords:     
    User:         
    NT VIRTUAL MACHINE\E304221F-2B11-4E29-B235-85A3F505EC48
    Computer:     
    MorilloPC
    Description:
    'borrar' could not initialize. (Virtual machine ID E304221F-2B11-4E29-B235-85A3F505EC48)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
    <EventID>3040</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-12-16T19:59:13.665065300Z" />
    <EventRecordID>114</EventRecordID>
    <Correlation />
    <Execution ProcessID="6364" ThreadID="3340" />
    <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
    <Computer>MorilloPC</Computer>
    <Security UserID="S-1-5-83-1-3808698911-1311320849-2743416242-1223427573" />
    </System>
    <UserData>
    <VmInitialize xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
    <VmName>borrar</VmName>
    <VmId>E304221F-2B11-4E29-B235-85A3F505EC48</VmId>
    </VmInitialize>
    </UserData>
    </Event>
    Thank you for your help.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Type 2 Virtual Machine in Hyper-V will not PXE boot with WDS

    Hi
    Bit of a wierd scenario this but I'm doing a bit of a lab experiment kind of thing. The setup is as follows:
    VMWare Workstation 10 with Windows Server 2012 R2 running as a virtual machine. In VMW10 I have a NAT network interface and a Bridging interface set to load with the virtual machine. These seem to work fine (although the NAT doesn't seem to want to connect
    to the internet but that's why the bridging one is there in addition).
    Server 2012 is configured with the following roles:
    ADDS, DHCP, DNS, Hyper-V, Printer, WDS
    I have correctly configured WDS to work on the same machine as DHCP and I can get PXE boot working with WDS on a Type1 Virtual Machine in Hyper-V using the Legacy Network adapter. My problem is when I try and PXE boot on a Type2 Virtual Machine (this type
    is new in R2 and should eliminate the need for a legacy network adapter) using the same network interface that I used for the Type1 machine, I get an IP address from DHCP but WDS doesn't seem to respond. Instead I get the "PXE-E16: No Offer Received"
    message. I have tried just about everything I can think of and spent the whole day trying to figure out why this is the case but came up with nothing. Has anyone else encountered this or can anyone shed any light on the matter? 
    Many thanks in advance

    "VMWare Workstation 10 with Windows Server 2012 R2"and "Server 2012 is configured with the following roles: ADDS, DHCP, DNS, Hyper-V, Printer, WDS"
    Hyper-V is not supported to be run as a VM.  It is a Type 1 hypervisor, which means it works on the bare metal.  You have it running as a VM on a Type-2 hypervisor, so it has no access to the bare metal.  Yes, VMware may have made it so some
    things work in that environment, but it is not a supported (or tested) environment for Hyper-V.
    .:|:.:|:. tim

  • I want to deployment virtual machine by Hyper-V with windows 2012 server

    I want to deployment virtual machine by Hyper-V with windows 2012 server. So I need step by step guide line with screenshot and video link.
    Thanks,
    Qamrul

    Hi Qamrul,
    Additionally here is the link for hyper-v getting started guide (server2008 ) :
    http://technet.microsoft.com/en-us/library/cc732470(v=ws.10).aspx
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • No longer able to view virtual machine from Hyper-V Manager

    From the Windows 2008 R2 host machine, I can run the Hyper-V Manager and 'connect' to the Virtual Machine.  The window pops up with nothing but a gray background (clearly the same gray background of the log in screen), but no 'ctrl-alt-delete' prompt
    and no ability to log in.  This was previously working fine.
    Note that I can still make a Remote Desktop connection to the Virtual Machine and it works fine.
    Thanks.

    Hi,
    I never seen this issue before, base on my experience, it may cause by your AV soft block some critical components of Hyper-V host, please try the following exclude specific
    directories or process with your AV soft.
    •Default virtual machine configuration directory (C:\ProgramData\Microsoft\Windows\Hyper-V)
    •Custom virtual machine configuration directories
    •Default virtual hard disk drive directory (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks)
    •Custom virtual hard disk drive directories
    •Custom replication data directories, if you are using Hyper-V Replica
    •Snapshot directories
    •Vmms.exe (Note: This file may have to be configured as a process exclusion within the antivirus software.)
    •Vmwp.exe (Note: This file may have to be configured as a process exclusion within the antivirus software.)
    The related KB:
    Virtual machines are missing, or error 0x800704C8, 0x80070037, or 0x800703E3 occurs when you try to start or create a virtual machine
    http://support.microsoft.com/kb/961804/en-us
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • IP Virtualization not working in Virtual Machine on Hyper-V

    Hello everyone. Have such issue. We are using cisco agent desktop for our users. For working in Terminal server environment it needs dedicated IP for each program session. Currently we'are using hardware server with Windows Server 2008 R2 SP1 with RDS.
    We've added IPpool in registry for Virtualisation per program. It works fine. Now i'm trying to create a virtual machine with WS 2012 R2 with the same configuration(Hyper-V 2012 R2). The problem is it doesn't work. When creating new session or launching new
    program i get APIPA address or get nothing at all. Will it work or still this functionality doesn't work?

    have you setup the IP virtualization GPOs in the new environment?
    computer configuration > administrative templates > windows components > remote desktop services > remote desktop session host > application compatibility
    I'm not sure what regkeys you have implemented but you may want to see if they still apply to 2012 R2, you might have to remove them

  • Vhd has the sama function as virtual machine or hyper-v in windows 8

    hi,
    is VHD has the same function as  hyper-v or virtual machine. if yes then I can make virtual machine from windows 7 home premium if the hardware support it.
    thanks
    johan
    h.david

    All VHDs are Virtual Machines and have the same function since they emulate a hardware environment, but they are not compatible between the different VM software.  They each have their own structure and are not directly compatible.  There are utilities
    that can be found on the internet that claim to export or import VMs from varies different VM software.
    Windows 7 XP Mode and Virtual PC use the same structure, but Hyper-V is a different structure.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Cannot connect to virtual machine in hyper-v

    One of our servers got corrupted and I managed to salvage the VHDs of the two VMs we were running on it. The server was Win Serv 2003 and was running virtual server.
    Now I'm trying to import the VHDs into Hyper-V on a newer 2008-R2 server and while the VM seemed to import just fine I cannot connect to it. Each time I try it gives me this error:
    "Cannot connect to the virtual machine. Try to connect again. If the problem persists, contact your system administrator."
    I think the issue could be that the VM was apart of a domain and now I'm trying to connect with a server that is on a different domain and has a different DNS.
    Is there anyway I can save this VM and not have to start from scratch?

    Hi,
    Is Windows Server 2003 is a DC? Is there a backup DC for Windows server 2003 if it is a DC?
    If you logon with domain account, you cannot connect to the origin domain if you don't have DC or you haven't restored DC. To fix this issue, you can restore Windows 7 to the point when windows 7 doesn't domain if you have such a restore point.
    Also, if you have DC and still connect to the virtual machine, i recommend you to log on the Windows 7 client with local adminstrator , disjoin from origin domain, then re-join the domain. At last, it will work well.
    Andy Altmann
    TechNet Community Support

  • How to convert offline ESXi 5.5U1 virtual machines to Hyper-V?

    Following on from my
    earlier question, I am having trouble working out how to convert my ESXi VMs to Hyper-V. Am I doing something really unusual?
    I have a ESXi 5.5U1 server at home for my home test lab. I want to convert this to Hyper-V Core 2012 R2. Target storage layout will look like this:
    Currently under ESXi 5.5, I don't have the C drive (using a USB flash to boot), and the RAID-5 and RAID-0 arrays are two separate VMFS volumes.
    I don't have swing kit to migrate, I have to repurpose existing hardware. I do have my Windows 8.1 workstation but that only has 900 GB free space.
    Some of my VMs have vmdks greater than 2TB.
    My plan was to
    In ESXi before rebuilding, move my VMs from the RAID-5 vol to the RAID-0 vol and then delete anything that wouldn't fit that's not strictly necessary from the RAID-5 volume.
    Shutdown ESXi and remove the USB flash drive.
    Install Hyper-V onto the System disk as C drive.
    Format the RAID-5 volume as NTFS (64k) and create a mount point into the C drive as C:\RAID-5. Put my VM disks in C:\RAID-5\VirtualDisks and the VMs in C:\RAID-5\VirtualMachines.
    Somehow convert the VMs from the RAID-0 VMFS volume to Hyper-V VMs on the RAID-5 NTFS volume.
    My confidence is low because I have tried to convert a new test machine created in ESXi 5.5 to a spare test Hyper-V 2012 R2 with the MVMC 3.1 converter and it failed. I also tried with the free 5nine converter and that failed too. I tried with and without
    the Guest Additions installed. Both conversions failed. I should mention I am in a workgroup, not a windows domain.
    Please help!

    May i inquire on why those two products failed? I had some struggles with both of them but eventually got things worked.
    Also you should try this one
    Starwind V2V convertor, it has worked for pure offline conversions for me as well. That was years ago, so hopefully it still works.
    Sure, here is the log from an attempt to convert a brand new VMware virtual machine which has Windows Server 2012 R2 Standard in it with no VM tools. http://pastebin.com/xdhzZ7tx
    Here is the log from an attempt to convert a Lubuntu linux VM: http://pastebin.com/Nc0E8Bip
    Both conversions attempted with MVMC3.1. Common error between them is
    12/24/2014 08:25:36 +00:00  [7]  VERBOSE:    Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException: The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the
    workspace folder path. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be
    translated.
    I retried using 5nine converter and it worked this time, not sure why. Will not try a test with a BSD based distro (pfSense) and Linux.

  • Move Virtual Machine from Hyper-V Server 2008 R2 SP1 to Hyper-V Server 2012 fails with Error 2901

    I have six Hyper-V 2008 R2 SP1 servers and two Hyper-V 2012 servers. I am running SCVMM 2012 SP1. I am trying to use "move virtual machine" from within SCVMM to move VMs from a 2008 host to a 2012 host. I have tried different VMs on different hosts
    and they all fail with this error:
    ==========
    Error (2901)
    The operation did not complete successfully because of a parameter or call sequence that is not valid.
    The parameter is incorrect (0x80070057)
    Recommended Action
    Ensure that the parameters are valid, and then try the operation again.
    ==========
    I have successfully created a VM on one of the 2012 hosts and moved it to the other 2012 hosts.  I can move VMs from 2008 host to 2008 host.  I just cannot move VMs from 2008 host to 2012 host.
    Does SCVMM 2012 SP1 not support moving VMs from Hyper-V 2008 to Hyper-V 2012?

    Hello Kevin,
    Have you got an resolution yet ? Do you have latest update roll up pack applied to SCVMM 2012 SP1?
    With SCVMM 2012 SP1  " Running VMs (Live Migartion) and VMs which are in Saved state or having checkpoints can not be migrated from 2008R2 host to 2012 Host " 
    above was fixed in SCVMM 2012 Update Roll up 1
    Apart this please check the approx. size of data (VHDs) which will get transferred over the network , If you have large files chances are more to get such errors.
    Thanks
    ~NY

Maybe you are looking for

  • Song bought from Itunes wont load onto Ipod

    Hi all, Bought my first ever tune from Itunes yesterday and have been trying to get it onto my ipod ever since. Have read some of the previous advice and tried all r's, updated ipod, itunes and windows software, tried to drop and drag in manually man

  • Save Grid Alv as Local File Problem

    Hi, The Alv output via REUSE_ALV_GRID_DISPLAY, when i export ALV to local file as Excel some cells are converted the value. Ex. 06MAY51   " display as char on ALV, there is no problem, this value of a plaque of a vehicle 06.May.51   " display as date

  • Horizontal drop down menu not staying open?

    Hi there again, So now I'm attempting to create a horizontal drop down menu. It is meant to be a vertical tab that sticks out, expands to the right, then expands and drops down. However, when I hover over the button (which is the blue box) and click

  • External Playback

    I have a brand new Mac Mini running OS X Mountain Lion and FCS 3 (Final Cut Pro 7). I'm currently editing a H.264 codec video. The external display (thunderbolt -> VGA) works with all frames and mirrorring on in with the Viewer, but not the Canvas. R

  • HT5622 How do I go to the cloud to see what is stored?

    I SIGNED UP FOR ICLOUD AND NOW I cannot see what is in the coud. Help!