I'm trying to restore a database to a different instance of SQL server using the option to leave the database operational. Every time I try I get the following error:
The VSS application writer or the VSS provider is in a bad state. Either it was already in a bad state or it entered a bad state during the current operation. (ID 30111)
Every time I get the error I check the status of the providers and writers on the DPM server and the machine I'm trying to recover to and they always look fine.
In the Application event log of the machine I'm restoring to I can see 2x VSS errors (one for the MDF, one for the LDF?) with event ID 8229.
A VSS writer has rejected an event with error 0x00000000, The operation completed successfully.
. Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.
Operation:
PreRestore Event
Immediately before that I got the following:
MSSQL$SQL2012 event ID 3633.
The operating system returned the error '5(Access is denied.)' while attempting
'RestoreContainer::ValidateTargetForCreation' on '<full path specified for MDF here>' at 'container.cpp'(2731).
Restoring the database to a non operational state gives the same issue.
Trying to restore a document to the same directory works. What do I need to do differently when attempting to restore databases?
The VSS application writer or the VSS provider is in a bad state. Either it was already in a bad state or it entered a bad state during the current operation. (ID 30111)
Every time I get the error I check the status of the providers and writers on the DPM server and the machine I'm trying to recover to and they always look fine.
In the Application event log of the machine I'm restoring to I can see 2x VSS errors (one for the MDF, one for the LDF?) with event ID 8229.
A VSS writer has rejected an event with error 0x00000000, The operation completed successfully.
. Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.
Operation:
PreRestore Event
Immediately before that I got the following:
MSSQL$SQL2012 event ID 3633.
The operating system returned the error '5(Access is denied.)' while attempting
'RestoreContainer::ValidateTargetForCreation' on '<full path specified for MDF here>' at 'container.cpp'(2731).
Restoring the database to a non operational state gives the same issue.
Trying to restore a document to the same directory works. What do I need to do differently when attempting to restore databases?