Volume Shadow Copy Service error: Unexpected error calling routine XML document is too long. hr = 0x80070018

I have about 1400 SQL databases on my environment (on 3 different volumes). I've got follow errors during taking VSS snap. Also SQLWriter goes from stable to failed "nonretryable"

*Event ID 8193, Source VSS. Volume Shadow Copy Service error: Unexpected error calling routine XML document is too long. hr = 0x80070018, The program issued a command but the command length is incorrect. Operation: Writer Modifying Modifying Backup Document Context: Execution Context: Requestor Writer Instance ID: {14BE9B90-62D7-4A2D-B57F-53D21EAB0789}

Event ID 8193, Source VSS. Volume Shadow Copy Service error: Unexpected error calling routine IXMLDOMNode::replaceChild. hr = 0x80070057, The parameter is incorrect. Operation: Processing Writer Data Executing Asynchronous Operation Context:Current State: DoSnapshotSet*

When I take snap just for one volume, it works fine. How I can resolve the issue?


It is well documented. Check this link:

https://docs.microsoft.com/en-us/troubleshoot/windows-server/backup-and-storage/event-id-8193-when-you-perform-backup