Question

Backup Exec 12.5 failing to backup Hyper V virtual machines

Asked by: carbonbase

I have just installed Windows 2008 (64bit) with Hyper V running one virtual machine with SQL 2008 installed on the virtual machine.

I am getting the following error when trying to do a backup of the Hyper V host server and the virtual machine:

Error category    : Resource Errors
Error             : e000fed1 - A failure occurred querying the Writer status.
For additional information regarding this error refer to link V-79-57344-65233

I click on the link and it takes me to this article:  http://support.veritas.com/docs/329122

The second option in the article refers to a weblink which is no longer active:

-- Re-register the Window 2008 VSS DLLs following the steps outlined in Tech Note:   http://support.veritas.com/docs/324906  and then reattempt the Backup Exec for Windows Server backup of this virtual guest.

Could anyone suggest how I may re-register Windos 2008 VSS DLL's or any other workarounds to enable me to backup Hyper V virtual machines using Backup Exec.  I would like to backup the virtual machine (which is a server) without having to to take it offline.

Thanks.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-10 at 08:29:08ID24640281
Tags

Backup Exec 12.5

,

Windows 2008

,

Hyper V

Topic

Backup Exec

Participating Experts
2
Points
250
Comments
26

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Can not see Microsoft Hyper-V VSS Writer after installing …
    I had RC1 Hyper-V installed on Windows Server 2008, where I can see Microsoft Hyper-V VSS Writer which is part of Virtual Machine management sevice (VMMS.exe) by running vssadmin list writers. After installing update KB950050 on Windows Server 2008 host, vssadmin does not di...
  2. Passive Backup of Hyper-V guest VMs
    I'm looking for the best solutions to keep a Hyper-V passive backup of virtual machine guests without using clustering. I've installed 2 Hyper-V virtual machines on a primary host Windows 2008 Server machine. I've purchased another Hyper-V host server that I want to use as ...
  3. Hyper-V VSS Writer Error
    I am trying to enable Windows Backup on Server 2008 R2 to backup my Hyper-V clients. I have taken care of modifying the registry to support the Hyper-V VSS Writer (added the GUID to the registry). When I run a backup of the volume that has the Hyper-V files, I get the follo...
  4. VSS error when Backup VM running on HyperV R2 with S…
    VM running on Cluster HyperV R2 using CSV Symantec Backup Exec 12.5 with latest update Symantec MSVS agent installed Symantec Agent update on HyperV R2 VM is on node "GS1ENDEMION02" I try to make a backup of the VM "GS1INDIANA" Before the backup, I run t...
  5. Backup Exec 12.5, Hyper-v machines (cant acces u…
    we have a Hyper-v machine with Backup exec 12.5 agent for hyper-v loaded on it. once i get a backup, the BE job no longer can get access to the hyper-v machines, we can see the host machine but any Virtural machines on it are invisible to Backup exec. I have to restart the m...
  6. Virtualizing Backup Exec 12.5 on Hyper-V
    I currently have a 2008 Server configured with Hyper-V. I would like to install a SCSI card in this server, create a VM running Server 2008 and Backup Exec, and attach the SCSI tape drive to this VM. Is this possible and if so, is it recommended?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: mutahirPosted on 2009-08-10 at 08:43:23ID: 25060979

If you can afford to reboot your server then :

a) Run a live update for Backup Exec and install the updates (Restart if required)

B) Make sure you have the remote agent for Hypver-v Installed

c) Check to see if any updates for remote agent is available (Live update)

d) Make sure you have enough space on your C Drive and on the VM C: Partition as well

Do a Windows Update as well (Just in case )

after the above steps and a couple of reboots (due to liveupdate and windows update)

type the following in a command prompt : vssadmin list writers

Check your writer status and they should be stable. Then just create a test job for your hyper-v (few directories and see if that finishes successfully)

Hope this helps

 

by: mutahirPosted on 2009-08-10 at 08:44:51ID: 25060998

To re register vss dlls :


1. Open a command prompt and change directories to \WINDOWS\system32
2. net stop vss
3. regsvr32 ole32.dll
4. regsvr32 vss_ps.dll
5. Vssvc /Register
6. regsvr32 /i swprv.dll
7. regsvr32 /i eventcls.dll
8. regsvr32 es.dll
9. regsvr32 stdprov.dll
10. regsvr32 vssui.dll
11. regsvr32 msxml.dll
12. regsvr32 msxml3.dll
13. regsvr32 msxml4.dll
14. Start the Volume Shadow Copy service by running "net start vss"

Again , run 'vssadmin list writers' .  If any of the results have a status of 'failed,' then you may need to restart the server for the DLL registration to take effect.  

http://www.isi.cc/nreeves/Lists/Posts/Post.aspx?ID=16

 

by: carbonbasePosted on 2009-08-11 at 05:41:11ID: 25068266

Hi
I ran LiveUpdate yesterday as the backup on the server was failing as soon as it started.  I
checked LiveUpdate today and there are no new updates for Backup Exec.  I also ran Windows
Update on my virtual machine and the physical Hyper V host are both up to date.  The virtual and
physical servers both have plenty of free space. I am using a 60 day eval version of Backup Exec
12.5 which has the agent for MS virtual servers included (not sure if I need to install a separate agent on the virtual machine?)

I ran 'vssadmin list writers' and there were no errors listed.  I then Re-registered the VSS
dll's as you described above anyway, just in case it helped. I did get the following errors when
re-registering some of the files:

The module "eventcls.dll" was loaded but the call to DLInstall failed with error code 0x80000ffff

The module "es.dll" was loaded but the entry-point DllRegisterServer was not found.  Make sure that "es.dll" is a valid DLL or OCX and then try again.

Also, msxml.dll and msxml4.dll were not found, only msxml3.dll was found and re-registered successfully.
 
I ran 'vssadmin list writers' again and again it reported no errors.  I then restarted the Hyper V server and ran the backup again.  The backup still fails but now I get this error:

Error category    : Other Errors
Error             : 8004230c - 0x8004230c (2147754764)
For additional information regarding this error refer to link V-79-32772-8972

The article referred to in the link relates to the VSS service not starting.  I started this service before the backup job ran, but after the backup errored I noticed that the VSS service had stopped again.

 

by: mutahirPosted on 2009-08-11 at 06:51:53ID: 25069001

Did you tried restarting after re-registering ?

Try to restart and create a test job ?

Have you checked that you have the BE virtual agents installed in your Hyper-V guests ?

 

by: carbonbasePosted on 2009-08-11 at 08:42:51ID: 25070335

I did restart the server after re-registering the DLL's.  I did a test backup which completed successfully, however a full backup of the server including the virtual machine which resides on it fails.

I have just come across this document which looks useful:

http://eval.symantec.com/mktginfo/enterprise/other_resources/bother_resources_be_12_5_amvs_faq_102008.pdf

 I have not had a chance to read through it all yet.  But I did check that I don't have any dymamic disks on my virtual machine which is one of the problems the document highlights.

 

by: mutahirPosted on 2009-08-11 at 11:31:30ID: 25071906

The link you provided is not found, can you attach the pdf file here, please.

Successful backup of what ?

Did you tried to backup just the vm ? when you install remote agent for virtual servers then it allows you select content inside it (directories/partitions etc) did you tried running that ?

Also, is backup exec installed on that same server ? is it inside a vm or on the host ?

 

by: mutahirPosted on 2009-08-11 at 11:33:34ID: 25071918

what kind of disks do you have in your vms ?

have you done a physical pass through for the disk to be attached to the vm or is it a scsi ?

 

by: carbonbasePosted on 2009-08-12 at 03:36:41ID: 25077303

I right-clicked on my original backup job and selected 'Test Run' and that completed successfully.  I then created a backup of the Hyper V server minus the virtual machine and that failed with the same error I've already mentioned, I then created a backup of just the virtual machine and that failed with the same error.  

Backup Exec is installed on the Hyper V host not the virtual machine. I am running the agent for MS virtual servers in Backup Exec installed on the Hyper V host server, I have the Granualar Recovery Technology option selected.  I am using only local internal storage in the Hyper V server.  I have created 5 virtual hard disks for the virtual machine, 3 are attached as IDE and 2 as SCSI

 

by: phrontistePosted on 2009-08-12 at 07:13:38ID: 25078912

Are you backingup on to a tape drive or to a spare hard disk onto the server ?

Have you got free space more then 2GB+ on every partition which may be the subject of Backup jobs?

Virtual Agents are installed inside the VMs as well ? (Backup Exec pushes the install to the VMs istelf when you add them)

Stop All Backup Exec Services
Restart them
Reboot the server
then check vss status by following, if all writers are stable and Hyper V vss writer is listed as well ?

vssadmin list writer

 

by: carbonbasePosted on 2009-08-13 at 05:08:39ID: 25087250

Im backing up to tape (HP Ultrium 4 SCSI).  All partitions have more than 2GB free.  

I rebooted the server and ran the "vssadmin list writers", no errors reported and the Hyper V VSS writer is listed.

I did not have a backup agent installed on the virtual machine but I have now installed it and I did a full backup of the virtual machine including the SQL database running on it using the agent and the backup completed successfully.  

I have just done a full backup of the Hyper V host server but this still failed with the 8004230c - 0x8004230c (2147754764) error already mentioned.

 

by: mutahirPosted on 2009-08-13 at 08:10:53ID: 25089234

So the vm itself with SQL gets backed up successfully ;

we can try a few things

First of all check this on the host server :

ensure that Microsoft Software Shadow Copy Provider Service (SWPRV) and the Volume Shadow Copy (VSS) services are running. To do so, click Start > run> type services.msc and hit Enter.

In the Services control panel, locate Microsoft Software Shadow Copy Provider and Volume Shadow Copy. Double click on both services, and set the Startup type to Automatic. By default, the Startup type is manual, and Windows will automatically start them when needed. Set to automatic startup will ensure that the services are always loaded when Windows boots up. If the services are currently disabled, click on Start Service button to start the services immediately.


Once you have made sure these services are set to automatic, reboot (if possible) or start the services ;

create a backup job of just the host server (excluding the vms) include, system state, shadow copies and post the results ; it should work.


 

by: carbonbasePosted on 2009-08-14 at 04:05:48ID: 25096750

The Microsoft Software Shadow Copy Provider Service is not installed on my server, any idea how i can install it?

 

by: mutahirPosted on 2009-08-14 at 04:43:58ID: 25096934

Read the following link and try the procedure again which we did earlier in this thread ; if you still don't see Microsoft Software Shadow Copy Provider Service in services.msc then move on to the next link to download the hotfix.

http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/413d4cbe-feb1-4a29-b07f-28e4c80ee814


===========================================

Go on to the following link and download / install the hotfix, read through the instructions carefully so you know what you are doing.

http://support.microsoft.com/kb/971394

The basics of vss : http://blogs.technet.com/josebda/archive/2007/10/10/the-basics-of-the-volume-shadow-copy-service-vss.aspx

Hope this helps

 

by: carbonbasePosted on 2009-08-14 at 08:41:24ID: 25099250

I re-registered the DLL's and booted the server and Shadow Copy Provider service was showing on the server.  I have done a backup of the server minus any Hyper V elements and the physical drive where the virtual machine files are located, but including the system state and vss components and the backup completed successfully.  

I will try a full backup of the Hyper V server including the Hyper V/VM elements when I get in next week.

Thanks.

 

by: mutahirPosted on 2009-08-14 at 10:57:14ID: 25100579

It will work fine now ! (hopefully :-) )

Best of luck for next week, keep us posted

 

by: carbonbasePosted on 2009-08-17 at 03:56:06ID: 25113050

Hi, I tried to do a full backup of the Hyper V server including the Hyper V component and got the following error:

Backup- VRTSRV::\\SERVER01.mydomain.com\Hyper-V?Store\Initial Store V-79-57344-65233 - AOFO: Initialization failure on: "VRTSRV::\\SERVER01.mydomain.com\Hyper-V?Virtual?Machine\VIRTUALSERVER01". Advanced Open File Option used: Microsoft Volume Shadow Copy Service (VSS).

Snapshot provider error (0xE000FED1): A failure occurred querying the Writer status.

Check the Windows Event Viewer for details.

Writer Name: Microsoft Hyper-V, Writer ID: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}, Last error: 0x80042319, State: Failed during freeze operation (9).

 

by: mutahirPosted on 2009-08-17 at 12:22:42ID: 25117499

Can you confirm what you have got selected :

When you double click on your JOB and the property sheet for the job appears, then under "Advanced Open File Option" what settings you have ?

Also, if the server hasn't been rebooted since you got this errors, can you type vssadmin list writers and check through if you see errors and on which ones.

or you can vssadmin list writers > vsswriters.txt and attach it here

 

by: carbonbasePosted on 2009-08-18 at 04:20:46ID: 25121911

The Microsoft Hyper-V VSS Writer now doesn't come up when I run the "vssadmin list writers" command.  I re-registered the DLL's but it still does not show up, I will restart the server tomorrow and see if that fixes it, although the Hyper V writer does seem a little tempramental and I don't think I will be backing up the virtual machine using this method as one of the virtual machines I am backing up is running SQL so I have to back this up via the backup agent installed on the virtual machine itself in any case.

I have done a full backup of the Hyper V server (selecting everything except the Hyper V backup component) and configured the same job to back up the virtual machine via its backup agent and this job completed successfully.

 

by: carbonbasePosted on 2009-08-20 at 06:49:32ID: 25142472

I've decided to backup my virtual machines using backup agents installed on the virtual machines themselves instead of using the Hyper V agent installed on the media server, as it has proved to be temperamental.  Also I'm only backing up 3 machines and one of those is running SQL, which according to Symantec documentation I have to backup via the locally installed agent anyway.

 

by: mutahirPosted on 2009-08-20 at 08:16:52ID: 25143587

For the SQL VM, you would have to install the SQL Agent as well on the media server, its activated via the licenses and allows you to see sql databases and select them in your selection lists.

http://www.experts-exchange.com/Software/System_Utilities/Q_24108652.html

 

by: carbonbasePosted on 2009-08-24 at 07:33:47ID: 31613768

Suggested solution didn't completely solve my problem, I used an alternative backup method of backing up the virtual machines with remote agents installed inside the virtual machines and did not use the virtual agent installed on the media server.

 

by: mutahirPosted on 2009-08-24 at 11:32:08ID: 25171022

The backup agents that are installed on the VMs are basically pushed by the media server ;

You can try to create separate jobs as you have mentioned, but you were getting errors as you never had the vss installed/activated which we did along this post.

As soon as you had the vss installed and running your hyper-v backups worked fine and so as the sql ones.

I run a terabyte job every night on a Hyper-V Server backing up to tape with 3 VMs and the host ; it works fine and completes, the only time I get these errors are when I am running low on disk space.

Also, sometimes AOFO (Advanced open file options is selected) i have tried deselecting it and it still uses it but works fine ;

The agents are basically activated via the licenses and then when you install the agents they are pushed to the VMs.

So, Your comment :
"Author Comments:
Suggested solution didn't completely solve my problem, I used an alternative backup method of backing up the virtual machines with remote agents installed inside the virtual machines and did not use the virtual agent installed on the media server."

I do not totally agree with that :-) how can you not use the virtual agents installed on the media server and use the agents on the vm itself ; basically, as I have mentioned, Agents for SQL, exchange, virtual servers are activated via licenses and then pushed by the media server allowing those databases and vms in the selection list.

I am sure you would be able to do a full back up fine once you have checked your Job Properties ;

a) Try deselecting Advanced File Option and check the results
b) Try selecting Advanced File Option and select Microsoft VSS Writer.

Hope that helps

 

by: carbonbasePosted on 2009-09-09 at 05:40:33ID: 25290506

Hi mutahir,

Still having problems here unfortunately....

I have tried to restore the vhd. files of one of my virtual machine but although the backup says it completes successfully and the files are selected in the backup, it doesn't seem to be backing up any of the .vhd files or virtual machine config files on the same drive.

As stated previously I've had to try backing up the drive containing the virtual machine's .vhd files through a Backup Exec agent pushed out to the virtual machines from the media server, as I could not get a successful backup using the Agent for Microsoft Virtual Servers installed on the media server.  We have been through re-registering the VSS files previously, which I've done a number of times on the server but every time I run a job with Hyper V agent installed on the media server I get the same error (e000fed1 - A failure occurred querying the Writer status).  I've run the backups with the Advanced File Option selected and deselected with the same result.

You mentioned about licenses... I have a licensed copy of Backup Exec and the SQL agent, but the Hyper V agent (or Agent for Microsoft Virtual Servers) is running under the 60 day evaluation period, I don't want to pay for a license for it until I can verify that it is going to work.

So basically I need one solution:
1, get the backups of the .vhd files working via the agents running inside the virtual machines
or
2. get the Agent for Microsoft Virtual Servers installed on the media server to complete a backup successfully.

Any help greatly appreciated. Thanks.

 

by: mutahirPosted on 2009-09-09 at 08:01:46ID: 25292010

Basically, the agents are activated via the licenses options in BE Media server and then pushed out to the virtual machines.

Then, when you create a job selection list, it will show you the virtual machines as individual servers so you can select deselect any directories as you may wish from the virtual servers.

you may already have read through the file attached but if you haven't , do read it.

I will post more on this from home.

 

by: carbonbasePosted on 2009-09-10 at 07:46:34ID: 25300749

Hi, yes I've read the document previously.  I think I've got to the bottom of what is going wrong with the Hyper-V agent on the media server...  

I was speaking to a friend about this and apparently when you enter a license key into Backup Exec it helpfully silently (thanks Symantec...) disables any agents running under eval licenses.  So on my media server I had installed licenses for Backup Exec and the SQL agent I still thought I hsd x-number of days remaining on my 60 day eval license for the Hyper-V agent.  I can't say this is definately the problem as I have ordered a paid for license for the Hyper-V agent and will test it again once I have that.

 

by: mutahirPosted on 2009-11-11 at 00:53:40ID: 25793261

Hi Carbonbase,

did ordering the license for hyper-v agent fixed it ?

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...