Home

Hyper-V guest Backup in VSS

%3CLINGO-SUB%20id%3D%22lingo-sub-73646%22%20slang%3D%22en-US%22%3EHyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73646%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20folks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBacking%20up%20a%20VMGuest%20a%20Windows%202016%20server%20(latest%20greatest)%20by%20using%20the%20VSS%20function.%20I%20use%20a%203rd%20part%20product%20called%20Veritas%20Netbackup%2C%20spoken%20to%20them%20they%20are%20clear%20that%20this%20is%20not%20a%20netbackup%20problem%20but%20a%20Microsoft%20problem.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOK%20So%20I%20have%20one%20Winserver%20guest%202016%20that%20backups%20fine%20(on%20a%20hyper-v%202012r2%20cluster)%20and%20I%20have%20another%20that%20I%20need%20to%20do%20%22off-host%22%20backup%20which%20will%20give%20me%20the%20%22freeze%22%20saved%20state%20enviroment.%20Those%20server%20are%20similar%20to%20each%20other%2C%20disk%2Ffirewall%2Ftools%2F%20and%20so%20on%20..%20but%20the%20main%20diffrence%20is%20that%20one%20is%20in%20the%20DMZ.%20When%20backing%20the%20host%20in%20%22hot%20state%22%20it%20gives%20me%20an%20error%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%222017-maj-29%2011%3A18%3A37%20-%20Critical%20bpbrm%20(pid%3D7792)%20from%20client%20bkbupdmz01%3A%20FTL%20-%20vfm_freeze_commit%3A%20method%3A%20Hyper-V_v2%2C%20type%3A%20FIM%2C%20function%3A%20Hyper-V_v2_prepare%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E2017-maj-29%2011%3A18%3A37%20-%20Critical%20bpbrm%20(pid%3D7792)%20from%20client%20bkbupdmz01%3A%20FTL%20-%20snapshot%20services%3A%20snapshot%20preparation%20failed%3A%20provider-private%20error.%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E2017-maj-29%2011%3A18%3A37%20-%20Critical%20bpbrm%20(pid%3D7792)%20from%20client%20bkbupdmz01%3A%20FTL%20-%20vfm_freeze_commit%3A%20method%3A%20Hyper-V_v2%2C%20type%3A%20FIM%2C%20function%3A%20Hyper-V_v2_prepare%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E2017-maj-29%2011%3A18%3A37%20-%20Critical%20bpbrm%20(pid%3D7792)%20from%20client%20bkbupdmz01%3A%20FTL%20-%20snapshot%20services%3A%20snapshot%20preparation%20failed%3A%20provider-private%20error.%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E2017-maj-29%2011%3A18%3A37%20-%20Critical%20bpbrm%20(pid%3D7792)%20from%20client%20bkbupdmz01%3A%20FTL%20-%20snapshot%20processing%20failed%2C%20status%204201%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E2017-maj-29%2011%3A18%3A37%20-%20Critical%20bpbrm%20(pid%3D7792)%20from%20client%20bkbupdmz01%3A%20FTL%20-%20snapshot%20creation%20failed%2C%20status%204201%3C%2FEM%3E%3C%2FP%3E%3CP%3E-%20This%20error%20comes%20from%20netbackup-veritas.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20one%20have%20a%20clue%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eregards%20Pontus%20Ankarb%C3%A5ge%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-98271%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-98271%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20similar%20problem%20with%20Snapshot%20backups%20but%20with%20Netapp%20software.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWindows%20Server%202012%20R2%20Hyper-V%20cluster%20with%20SMB%203.0%20connection%20for%20storing%20VMs%20on%20Netapp%20SAN.%20All%20my%20VMs%20with%20WS2008R2%2C%20WS2012%2C%20WS2012R2%20works%20great%20with%20the%20snapshots%20but%20with%20WS2016%20there%20is%20a%20freeze%20for%20a%20short%20period%20so%20applications%20like%20NAV%20and%20TFS%20become%20unresponsive.%20To%20avoid%20problems%20I%20have%20had%20to%20move%20the%20snapshots%20to%20be%20taken%20outside%20of%20working%20hours%20but%20then%20the%20whole%20point%20of%20having%20snapshots%20is%20lost...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELets%20hope%20that%20it%20is%20in%20the%20Integration%20tools%20and%20that%20it%20will%20be%20solved%20soon.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73983%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73983%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Pontus%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooks%20like%20a%20problem%20with%20the%20Integration%20tools%2C%20is%20the%20VM%20using%20the%20latest%20updates%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDon't%20no%20how%20to%20reinstall%20them%20using%20Server%202016%2C%20this%20is%20changed%20from%20the%20Server%202012%20R2%20procedure.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EErwin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73806%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73806%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%20again%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20backup%20still%20freeze%20when%20i%20shut%20down%20the%20vmicvss..%20In%20the%20log%20of%20the%20vmhost%20where%20the%20guest%20is.%20I%20got%20following%20error%20(4000)%26nbsp%3BFailed%20to%20connect%20to%20virtual%20machine%20'bkbupdmz01'%20because%20there%20is%20no%20mutually%20supported%20protocol%20for%20VM%3A%20(Virtual%20machine%20ID%20223A61EB-75E9-4494-AE75-36978840CC40).%20Framework%20version%3A%20Negotiated%20(0.0)%20-%20Expected%20(3.0)%3B%20Message%20version%3A%20Negotiated%20(0.0)%20-%20Expected%20(4.0).%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20anything%20that%20need%20to%20be%20open%20on%20the%20network%20for%20this%20to%20be%20working%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%20Pontus%20Ankarb%C3%A5ge%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73777%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73777%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Puntos%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EDid%20you%20restart%20the%20Hyper-V%20Volume%20Shadow%20Copy%20Requestor%20(vmicvss)%20after%20the%20turn%20off%2Fon%20off%20Backup%3F%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EYou%20can%20check%20the%20Application%20eventlog%20for%20the%20Task%20Category%20ShadowCopy%20events%202001%2C%202003%20and%202006%2C%20or%20maybe%20you%20see%20errors%20there%3F%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EA%20test%20to%20be%20sure%20if%20VSS%20is%20the%20one%20who%20stops%20your%20backup%20from%20working%20is%20the%20following%3A%3C%2FFONT%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EStop%20the%20Hyper-V%20Volume%20Shadow%20Copy%20Requestor%20(vmicvss)%20service%20on%20the%20VM%3C%2FFONT%3E%3C%2FLI%3E%3CLI%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3ECreate%20a%20backup%3C%2FFONT%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSTRONG%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EBe%20aware%20that%20this%20procedure%20will%20pause%20your%20VM%20during%20the%20backup!%20So%20don%E2%80%99t%20do%20this%20in%20production%20time!%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EHope%20this%20helps%20you%20further%2C%20if%20VSS%20is%20working%20I%20would%20suggest%20to%20consult%20with%20your%20backup%20vendor%20again.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3ERegard%2C%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%20face%3D%22Calibri%22%3EErwin%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73760%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73760%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Erwin%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThx%20for%20the%20quick%20reply%20%3B).%20The%20option%20%22backup%22%20under%20vss%20is%20checked..%20read%20about%20a%20bug%20that%20it%20could%20be%20unchecked%20and%20checked%20again%20for%20it%20to%20take.%20(tried%20that)%20It%20freeze%20the%20machine%20so%20I%20dont%20think%20it%20useses%20the%20Backupoption%20even%20if%20its%20checked.%20Thx%20for%20the%20guidance.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F15153i0FE1104E73DAF02F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22backup2016.PNG%22%20title%3D%22backup2016.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73755%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73755%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Puntos%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20check%20it%20in%20the%20Hyper-V%20manager%2C%20go%20to%20the%20settings%20of%20the%20VM%20and%20go%20to%20Management%20-%20Checkpoints.%20Check%20also%20under%20Management%20the%20Integration%20Services%2C%20is%20the%20option%20Backup%20(volume%20shadow%20copy)%20checked%3F%20If%20this%20is%20checked%20(the%20default)%20then%20the%20VM%20is%20using%20VSS%20to%20create%20a%20checkpoint.%20If%20you%20want%20a%20%22freeze%22%20of%20the%20VM%20(paused%20state)%20then%20you%20must%20uncheck%20it.%20But%20personally%2C%20I%20think%20it%E2%80%99s%20better%20to%20use%20the%20VSS%20option.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegard%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EErwin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73753%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73753%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%20mr%20Ervin%20Van%20Dijik%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanx%20for%20answer.%3C%2FP%3E%3CP%3EI%20have%20made%20the%20checkpoint%20from%20the%20hyper-v-manager.%20The%20checkpoints%20was%20created%20fine..%3C%2FP%3E%3CP%3EBut%20it%20was%20a%20less%20than%2010sek%20frezze%20of%20the%20VM%2C%20when%20it%20were%20creating%20the%20checkpoint.%20And%20i%20saw%20the%20%25%20build%20of%20the%20checkpoint.%20It%20release%20the%20freeze%20mode%20around%2085%25%20done%20of%20the%20checkpoint.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20couldnt%20see%20any%20error%20creating%20the%20checkpoint.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20i%20see%20%22what%20kind%20of%20checkpoint%20is%20made%22%3F%20in%20hyper-v%20Manager%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eregards%20Pontus%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73723%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20guest%20Backup%20in%20VSS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73723%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Pontus%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20happens%20if%20you%20try%20to%20make%20a%20production%20checkpoint%20from%20the%20Hyper-V%20Manager%3F%20Check%20settings%20on%20the%20VM%20what%20kind%20of%20checkpoint%20is%20made.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20get%20an%20error%20when%20creating%20the%20checkpoint%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EErwin%3C%2FP%3E%3C%2FLINGO-BODY%3E
Pontus Ankarbåge
New Contributor

Hi folks

 

Backing up a VMGuest a Windows 2016 server (latest greatest) by using the VSS function. I use a 3rd part product called Veritas Netbackup, spoken to them they are clear that this is not a netbackup problem but a Microsoft problem. 

 

OK So I have one Winserver guest 2016 that backups fine (on a hyper-v 2012r2 cluster) and I have another that I need to do "off-host" backup which will give me the "freeze" saved state enviroment. Those server are similar to each other, disk/firewall/tools/ and so on .. but the main diffrence is that one is in the DMZ. When backing the host in "hot state" it gives me an error: 

"2017-maj-29 11:18:37 - Critical bpbrm (pid=7792) from client bkbupdmz01: FTL - vfm_freeze_commit: method: Hyper-V_v2, type: FIM, function: Hyper-V_v2_prepare
2017-maj-29 11:18:37 - Critical bpbrm (pid=7792) from client bkbupdmz01: FTL - snapshot services: snapshot preparation failed: provider-private error.
2017-maj-29 11:18:37 - Critical bpbrm (pid=7792) from client bkbupdmz01: FTL - vfm_freeze_commit: method: Hyper-V_v2, type: FIM, function: Hyper-V_v2_prepare
2017-maj-29 11:18:37 - Critical bpbrm (pid=7792) from client bkbupdmz01: FTL - snapshot services: snapshot preparation failed: provider-private error.
2017-maj-29 11:18:37 - Critical bpbrm (pid=7792) from client bkbupdmz01: FTL - snapshot processing failed, status 4201
2017-maj-29 11:18:37 - Critical bpbrm (pid=7792) from client bkbupdmz01: FTL - snapshot creation failed, status 4201

- This error comes from netbackup-veritas. 

 

Any one have a clue?

 

regards Pontus Ankarbåge

8 Replies

Hi Pontus,

 

What happens if you try to make a production checkpoint from the Hyper-V Manager? Check settings on the VM what kind of checkpoint is made.

 

Do you get an error when creating the checkpoint?

 

Regards,

 

Erwin

Hi there mr Ervin Van Dijik

 

Thanx for answer.

I have made the checkpoint from the hyper-v-manager. The checkpoints was created fine..

But it was a less than 10sek frezze of the VM, when it were creating the checkpoint. And i saw the % build of the checkpoint. It release the freeze mode around 85% done of the checkpoint. 

 

I couldnt see any error creating the checkpoint. 

 

How can i see "what kind of checkpoint is made"? in hyper-v Manager?

 

regards Pontus 

Hi Puntos,

 

You can check it in the Hyper-V manager, go to the settings of the VM and go to Management - Checkpoints. Check also under Management the Integration Services, is the option Backup (volume shadow copy) checked? If this is checked (the default) then the VM is using VSS to create a checkpoint. If you want a "freeze" of the VM (paused state) then you must uncheck it. But personally, I think it’s better to use the VSS option.

 

Regard,

 

Erwin

Hi Erwin,

 

Thx for the quick reply ;). The option "backup" under vss is checked.. read about a bug that it could be unchecked and checked again for it to take. (tried that) It freeze the machine so I dont think it useses the Backupoption even if its checked. Thx for the guidance. 

backup2016.PNG

 

 

 

 

Hi Puntos,

 

Did you restart the Hyper-V Volume Shadow Copy Requestor (vmicvss) after the turn off/on off Backup?

You can check the Application eventlog for the Task Category ShadowCopy events 2001, 2003 and 2006, or maybe you see errors there?

A test to be sure if VSS is the one who stops your backup from working is the following:

  • Stop the Hyper-V Volume Shadow Copy Requestor (vmicvss) service on the VM
  • Create a backup

Be aware that this procedure will pause your VM during the backup! So don’t do this in production time!

 

Hope this helps you further, if VSS is working I would suggest to consult with your backup vendor again.

 

Regard,

 

Erwin

Hi there again,

 

The backup still freeze when i shut down the vmicvss.. In the log of the vmhost where the guest is. I got following error (4000) Failed to connect to virtual machine 'bkbupdmz01' because there is no mutually supported protocol for VM: (Virtual machine ID 223A61EB-75E9-4494-AE75-36978840CC40). Framework version: Negotiated (0.0) - Expected (3.0); Message version: Negotiated (0.0) - Expected (4.0)."

 

Is there anything that need to be open on the network for this to be working?

 

Regards Pontus Ankarbåge

 

 

Hi Pontus,

 

Looks like a problem with the Integration tools, is the VM using the latest updates?

 

Don't no how to reinstall them using Server 2016, this is changed from the Server 2012 R2 procedure.

 

Regards,

 

Erwin

I have a similar problem with Snapshot backups but with Netapp software.

 

Windows Server 2012 R2 Hyper-V cluster with SMB 3.0 connection for storing VMs on Netapp SAN. All my VMs with WS2008R2, WS2012, WS2012R2 works great with the snapshots but with WS2016 there is a freeze for a short period so applications like NAV and TFS become unresponsive. To avoid problems I have had to move the snapshots to be taken outside of working hours but then the whole point of having snapshots is lost...

 

Lets hope that it is in the Integration tools and that it will be solved soon.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
38 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies