I have backupassist and I attempt to run a backup, with VSS service running. However, I get this error in Windows Event Log:
The backup operation that started at '2010-04-30T01:51:15.601000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code '2155348129'. Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.
Code: 521.
The error in backupassist is:
The backup operation stopped before completing. Detailed error: ERROR - A Volume Shadow Copy Service operation error has occurred: (0x80042336) The writer experienced a partial failure. Check the component level error state for more information.
Log of files successfully backed up: C:\Windows\Logs\WindowsServerBackup\Backup-29-04-2010_18-51-15.log
Log of files for which backup failed: C:\Windows\Logs\WindowsServerBackup\Backup_Error-29-04-2010_18-51-15.logA Volume Shadow Copy Service operation failed. Please check "VSS" and "SPP" application event logs for more information. ERROR - A Volume Shadow Copy Service operation error has occurred: (0x80042336) The writer experienced a partial failure. Check the component level error state for more information.
Any idea how to fix this? I work in a company with server engineers, they all state of having no problems with 2008 and VSS (though in the company we use predominantly 2003). Without VSS working, I assume no backup application will work?
Try running the DOS command "vssadmin list writers" and "vss admin list providers". Capture the output of these command, as they will help in debugging the issue. If a particular writer reports any unexpected state, search the web for conditions that may be causing this issue.
If VSS errors continue to persist, try re-registering VSS. Follow the steps outlined in MS KB article 940184. Doublecheck for other VSS providers, i.e. any backup software that installs any sort of Open File agent (examples would be St Bernard, older versions of Backup Exec Open File Option, etc). These can be shown by typing "vssadmin list providers" at a command prompt. Providers from uninstalled software can be deleted by removing the offending CLSID of the VSS provider and rebooting the machine.
Is the machine a 64-bit machine? Are you getting "A function call was invalid because of the state of either the backup extensions or the coordinator. For example calling AddToSnapshot set prior to calling StartSnapshotSet." ? If so, try deleting the Subscription key per MS KB 940184
Next you can try running a utility called vshadow. It's part of the windows SDK.
To do a single manual snapshot, run
which would take and immediately destroy a VSS snapshot of C: and D:. If that works, VSS is probably OK; if not it's a VSS problem.
All of this is where I would start to troubleshoot VSS problems.
As with anything, be extremely careful when modifying the registry
Is there anything in the Windows application event log, with a source value of VSS? That might have a more specific error message than what backupassist is giving you.
Otherwise, I'd give what Holocryptic said a shot. Just some helpful pointers -
To get
vshadow.exe
-On that page you may see it telling you to download the Windows 7/.NET Fx 3.5 SP1 SDK instead - do not do this. The
vshadow.exe
version in that SDK is incompatible with Windows Server 2008.If you see the error message,
you have downloaded the wrong version.
for Windows Server 2008 R2 (or Windows 7), you need to download Windows SDK v7.0.
When installing the Windows SDK, you can untick all the documentation and compiler options to save space and time. You just need the Win32 Samples I think.
Once the Windows SDK is installed,
vshadow.exe
will be located in,where vx.x is either v6.1 or v7.0.
You can just copy
vshadow.exe
; it doesn't depend on anything else in the Windows SDK.All this said, the new way of managing shadow copies is via
diskshadow.exe
, which is in-built into Windows Server 2008 and 2008 R2. Its interface is similar to diskpart, in that it has its own little shell, as opposed tovshadow.exe
which acts as a simple command line app.