Share via


Backup failed due to Ä Volume Shadow copy service operation failed.

Question

Sunday, October 27, 2019 6:45 AM

Hi IT Experts,

Since one week, backup in one of our servers shows "A Volume shadow copy service operation failed" and Bare Metal Recovery and System State failed, resulting no backup is happening, for testing purpose i manually enabled the VSS service to Automatic also checked the destination folder has enough space but no luck. 

Further more, I check the Disk mgmt and found "System Reserved"" partition doesn't shows System but only Active & Primary, attached snapshot shows the current Disk Mgmt for your advice.

Appreciate your support

TIA

Maz

All replies (5)

Sunday, October 27, 2019 10:04 AM ✅Answered

Find the failed VSS writers and their associated services, and restart them:

1. Click the Start button then type CMD. When the command prompt icon appears, right-click it and select Run as Administrator.

2. Type vssadmin list writers to find each of the VSS writers in a failed state. If the command hangs and does not return any output, this suggests the Volume Shadow Copy service or one of its dependent tasks might be in a bad state, causing the VSS writer audit to fail.

Figure 1: Admin command prompt (click to enlarge)

3. Restart the service to clear the failed state. If the service will not restart, reboot the production machine.

4. Make a list or take a screenshot of all failed VSS writers.

5. Find the VSS writer's associated Service Display Name in the table below and restart the service.

Figure 2: Failed VSS Writer (click to enlarge)

6. Open services.msc and stop any VSS related services that are running.

7. Re-run the command vssadmin list writers in an administrative command prompt to confirm the state has changed to Stable with no errors.

Figure 3: Stable VSS writer (click to enlarge)

7. Try another backup. If the VSS writers fail again, you must reboot the machine.

VSS Writer Service Name Service Display Name
ADAM $instanceName Writer ADAM_$instanceName $instanceName
ASR Writer VSS Volume Shadow Copy
BITS Writer BITS Background Intelligent Transfer Service
Certificate Authority CertSvc Active Directory Certificate Services
COM+ REGDB Writer VSS Volume Shadow Copy
DFS Replication service writer DFSR DFS Replication
DHCP Jet Writer DHCPServer DHCP Server
FRS Writer NtFrs File Replication
FSRM writer srmsvc File Server Resource Manager
IIS Config Writer AppHostSvc Application Host Helper Service
IIS Metabase Writer IISADMIN IIS Admin Service
Microsoft Exchange Replica Writer MSExchangeRepl Microsoft Exchange Replication Service
Microsoft Exchange Writer MSExchangeIS Microsoft Exchange Information Store
Microsoft Hyper-V VSS Writer vmms Hyper-V Virtual Machine Management
MSMQ Writer (MSMQ) MSMQ Message Queuing
MSSearch Service Writer WSearch Windows Search
NPS VSS Writer EventSystem COM+ Event System
NTDS NTDS Active Directory Domain Services
OSearch VSS Writer OSearch Office SharePoint Server Search
OSearch44 VSS Writer OSearch44 SharePoint Server Search 14
OSearch45 VSS Writer OSearch45 SharePoint Server Search 15
Registry Writer VSS Volume Shadow Copy
Shadow Copy Optimization Writer VSS Volume Shadow Copy
SharePoint Services Writer SPWriter Windows SharePoint Services VSS Writer
SMS Writer SMS_SITE_VSS_WRITER SMS_SITE_VSS_WRITER
SPSearch VSS Writer SPSearch Windows SharePoint Services Search
SPSearch4 VSS Writer SPSearch4 SharePoint Foundation Search V4
SqlServerWriter SQLWriter SQL Server VSS Writer
System Writer CryptSvc Cryptographic Services
TermServLicensing TermServLicensing Remote Desktop Licensing
WDS VSS Writer WDSServer Windows Deployment Services Server
WIDWriter WIDWriter Windows Internal Database VSS Writer
WINS Jet Writer WINS Windows Internet Name Service (WINS)
Windows Server Storage VSS Writer WseStorageSvc Windows Server Essentials Storage Service
WMI Writer Winmgmt Windows Management Instrumentation

Monday, October 28, 2019 2:27 AM

Hi,

Besides above suggestions, please check if there is any error message in Event Viewer.

Try to uninstall all the AV softwares and try again.

Best Regards,

Daniel

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact


Tuesday, October 29, 2019 5:30 AM

Hi,

Yes, one of SQL VSS writer service stop and restart then reboot the server and working like charm.

Thank you for your support


Tuesday, October 29, 2019 5:40 AM

Thanks for your sharing!

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact


Wednesday, October 30, 2019 5:57 AM

Hi Udara Kaushalya,

As said, your suggestion works and successfully backed up but today found the same SQL Server Writer failed - Inconsistent Shadow copy.

Probably, if I redo as suggested would work like stop the services reboot the server then backup but this is not permanent solution,

Kindly advice.