Hello,
VSS backup fails if one of the Exchange 2013 database is offline. Once that DB is online the backup succeeds.
Is that any way to *skip* the offline DB, and VSS backup to succeed for the online DB's?
Here is the console output:
CheckSelectedWriterStatus: checking 12 writers
CheckSelectedWriterStatus: Writer 0:Task Scheduler Writer is VSS_WS_WAITING_FOR_BACKUP_COMPLETE
CheckSelectedWriterStatus: Writer 1:VSS Metadata Store Writer is VSS_WS_WAITING_FOR_BACKUP_COMPLETE
CheckSelectedWriterStatus: Writer 2:Performance Counters Writer is VSS_WS_WAITING_FOR_BACKUP_COMPLETE
CheckSelectedWriterStatus: Writer 3 is VSS_WS_FAILED_AT_BACKUP_COMPLETE
ERROR: Selected writer 'Microsoft Exchange Writer' is in failed state!
- Status: 12 (VSS_WS_FAILED_AT_BACKUP_COMPLETE)
- Writer Failure code: 0x800423f3 (<Unknown error code>)
- Writer ID: {76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}
- Instance ID: {f3a6219d-4c09-4aad-9055-fea8134b04a8}
HRESULT Error catched: 0x8000ffff
Here are the events for that backup time slot:
Log Name: Application
Source: VSS
Date: 2/18/2015 2:37:43 AM
Event ID: 8194
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: warden.exch13ca.local
Description:
Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied.
. This is often caused by incorrect security settings in either the writer or requestor process.
Operation:
Gathering Writer Data
Context:
Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
Writer Name: System Writer
Writer Instance ID: {85e66358-a755-4c3e-a977-6eeb8773fc2d}
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="VSS" />
<EventID Qualifiers="0">8194</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-18T09:37:43.000000000Z" />
<EventRecordID>3250493</EventRecordID>
<Channel>Application</Channel>
<Computer>warden.exch13ca.local</Computer>
<Security />
</System>
<EventData>
<Data>0x80070005, Access is denied.
</Data>
<Data>
Operation:
Gathering Writer Data
Context:
Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
Writer Name: System Writer
Writer Instance ID: {85e66358-a755-4c3e-a977-6eeb8773fc2d}</Data>
<Binary>2D20436F64653A20575254575254494330303030313239352D2043616C6C3A20575254575254494330303030313234392D205049443A202030303030303934342D205449443A202030303030313937362D20434D443A2020433A5C57696E646F77735C73797374656D33325C737663686F73742E657865202D6B204E6574776F726B53657276696365202020202020202D20557365723A204E616D653A204E5420415554484F524954595C4E4554574F524B20534552564943452C205349443A532D312D352D3230</Binary>
</EventData>
</Event>
Log Name: Application
Source: VSS
Date: 2/18/2015 2:37:43 AM
Event ID: 8194
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: warden.exch13ca.local
Description:
Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied.
. This is often caused by incorrect security settings in either the writer or requestor process.
Operation:
Gathering Writer Data
Context:
Writer Class Id: {7e47b561-971a-46e6-96b9-696eeaa53b2a}
Writer Name: MSMQ Writer (MSMQ)
Writer Instance Name: MSMQ Writer (MSMQ)
Writer Instance ID: {98d1fe9e-32e4-45dc-bd67-380afb168ffa}
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="VSS" />
<EventID Qualifiers="0">8194</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-18T09:37:43.000000000Z" />
<EventRecordID>3250494</EventRecordID>
<Channel>Application</Channel>
<Computer>warden.exch13ca.local</Computer>
<Security />
</System>
<EventData>
<Data>0x80070005, Access is denied.
</Data>
<Data>
Operation:
Gathering Writer Data
Context:
Writer Class Id: {7e47b561-971a-46e6-96b9-696eeaa53b2a}
Writer Name: MSMQ Writer (MSMQ)
Writer Instance Name: MSMQ Writer (MSMQ)
Writer Instance ID: {98d1fe9e-32e4-45dc-bd67-380afb168ffa}</Data>
<Binary>2D20436F64653A20575254575254494330303030313239352D2043616C6C3A20575254575254494330303030313234392D205049443A202030303030313538382D205449443A202030303032303839322D20434D443A2020433A5C57696E646F77735C73797374656D33325C6D717376632E6578652020202D20557365723A204E616D653A204E5420415554484F524954595C4E4554574F524B20534552564943452C205349443A532D312D352D3230</Binary>
</EventData>
</Event>
Log Name: Application
Source: MSExchangeRepl
Date: 2/18/2015 2:37:44 AM
Event ID: 2140
Task Category: Exchange VSS Writer
Level: Error
Keywords: Classic
User: N/A
Computer: warden.exch13ca.local
Description:
The Microsoft Exchange Replication service VSS Writer encountered an exception in function Microsoft::Exchange::Cluster::ReplicaVssWriter::CReplicaVssWriterInterop::BackupCompleteTruncateLogsComponents.
HResult -3. Exception Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable execute Truncate on snapshot. (hr=0x80004005, ec=1295)
Diagnostic context:
Lid: 1494 ---- Remote Context Beg ----
Lid: 63528 StoreEc: 0x50F
Lid: 42621 StoreEc: 0x50F
Lid: 1750 ---- Remote Context End ----
Lid: 59216
Lid: 34640 StoreEc: 0x50F
Lid: 52264
Lid: 46120 StoreEc: 0x50F
at Microsoft.Mapi.MapiExceptionHelper.InternalThrowIfErrorOrWarning(String message, Int32 hresult, Boolean allowWarnings, Int32 ec, DiagnosticContext diagCtx, Exception innerException)
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, IExInterface iUnknown, Exception innerException)
at Microsoft.Mapi.ExRpcAdmin.ProcessSnapshotOperation(Guid mdbGuid, SnapshotOperationCode operationCode, UInt32 flags)
at Microsoft.Exchange.Cluster.Replay.StoreRpcController.<>c__DisplayClass25.<SnapshotTruncateLogInstance>b__24()
at Microsoft.Exchange.Cluster.Replay.SafeRefCountedTimeoutWrapper.<>c__DisplayClass2.<ProtectedCallWithTimeout>b__0()
at Microsoft.Exchange.Data.HA.InvokeWithTimeout.Invoke(Action invokableAction, Action foregroundAction, TimeSpan invokeTimeout, Boolean sendWatsonReportNoThrow, Object cancelEvent)
at Microsoft.Exchange.Cluster.Replay.SafeRefCountedTimeoutWrapper.ProtectedCallWithTimeout(String operationName, TimeSpan timeout, Action operation)
at Microsoft.Exchange.Cluster.ReplicaVssWriter.CReplicaVssWriterInterop.SnapshotTruncateLogInstance(Guid dbGuid, UInt32 flags)
at Microsoft.Exchange.Cluster.ReplicaVssWriter.CReplicaVssWriterInterop.BackupCompleteTruncateLogsReplica(ReplayConfiguration replica, Guid vssIdCurrentSnapshotSetId, Boolean fTruncateLogs)
at Microsoft.Exchange.Cluster.ReplicaVssWriter.CReplicaVssWriterInterop.BackupCompleteTruncateLogsComponents(IVssWriterComponents* pComponents, Guid vssIdCurrentSnapshotSetId, Boolean
fTruncateLogs).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="49156">2140</EventID>
<Level>2</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-18T09:37:44.000000000Z" />
<EventRecordID>3250496</EventRecordID>
<Channel>Application</Channel>
<Computer>warden.exch13ca.local</Computer>
<Security />
</System>
<EventData>
<Data>Microsoft::Exchange::Cluster::ReplicaVssWriter::CReplicaVssWriterInterop::BackupCompleteTruncateLogsComponents</Data>
<Data>-3</Data>
<Data>Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable execute Truncate on snapshot. (hr=0x80004005, ec=1295)
Diagnostic context:
Lid: 1494 ---- Remote Context Beg ----
Lid: 63528 StoreEc: 0x50F
Lid: 42621 StoreEc: 0x50F
Lid: 1750 ---- Remote Context End ----
Lid: 59216
Lid: 34640 StoreEc: 0x50F
Lid: 52264
Lid: 46120 StoreEc: 0x50F
at Microsoft.Mapi.MapiExceptionHelper.InternalThrowIfErrorOrWarning(String message, Int32 hresult, Boolean allowWarnings, Int32 ec, DiagnosticContext diagCtx, Exception innerException)
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, IExInterface iUnknown, Exception innerException)
at Microsoft.Mapi.ExRpcAdmin.ProcessSnapshotOperation(Guid mdbGuid, SnapshotOperationCode operationCode, UInt32 flags)
at Microsoft.Exchange.Cluster.Replay.StoreRpcController.<>c__DisplayClass25.<SnapshotTruncateLogInstance>b__24()
at Microsoft.Exchange.Cluster.Replay.SafeRefCountedTimeoutWrapper.<>c__DisplayClass2.<ProtectedCallWithTimeout>b__0()
at Microsoft.Exchange.Data.HA.InvokeWithTimeout.Invoke(Action invokableAction, Action foregroundAction, TimeSpan invokeTimeout, Boolean sendWatsonReportNoThrow, Object cancelEvent)
at Microsoft.Exchange.Cluster.Replay.SafeRefCountedTimeoutWrapper.ProtectedCallWithTimeout(String operationName, TimeSpan timeout, Action operation)
at Microsoft.Exchange.Cluster.ReplicaVssWriter.CReplicaVssWriterInterop.SnapshotTruncateLogInstance(Guid dbGuid, UInt32 flags)
at Microsoft.Exchange.Cluster.ReplicaVssWriter.CReplicaVssWriterInterop.BackupCompleteTruncateLogsReplica(ReplayConfiguration replica, Guid vssIdCurrentSnapshotSetId, Boolean fTruncateLogs)
at Microsoft.Exchange.Cluster.ReplicaVssWriter.CReplicaVssWriterInterop.BackupCompleteTruncateLogsComponents(IVssWriterComponents* pComponents, Guid vssIdCurrentSnapshotSetId, Boolean
fTruncateLogs)</Data>
</EventData>
</Event>
Log Name: Application
Source: MSExchangeRepl
Date: 2/18/2015 2:37:44 AM
Event ID: 2034
Task Category: Exchange VSS Writer
Level: Error
Keywords: Classic
User: N/A
Computer: warden.exch13ca.local
Description:
The Microsoft Exchange Replication service VSS Writer (Instance ff7ec8a9-1da0-4a37-acc4-ccfd4fa3bbe9) failed with error FFFFFFFD when processing the backup completion event.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="49156">2034</EventID>
<Level>2</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-18T09:37:44.000000000Z" />
<EventRecordID>3250497</EventRecordID>
<Channel>Application</Channel>
<Computer>warden.exch13ca.local</Computer>
<Security />
</System>
<EventData>
<Data>ff7ec8a9-1da0-4a37-acc4-ccfd4fa3bbe9</Data>
<Data>FFFFFFFD</Data>
</EventData>
</Event>
Log Name: Application
Source: VSS
Date: 2/18/2015 2:37:44 AM
Event ID: 8229
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: warden.exch13ca.local
Description:
A VSS writer has rejected an event with error 0x800423f3, The writer experienced a transient error. If the backup process is retried,
the error may not reoccur.
. 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:
BackupComplete Event
Context:
Execution Context: Writer
Writer Class Id: {76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}
Writer Name: Microsoft Exchange Writer
Writer Instance Name: Exchange Replication Service
Writer Instance ID: {f3a6219d-4c09-4aad-9055-fea8134b04a8}
Command Line: "C:\Program Files\Microsoft\Exchange Server\V15\Bin\msexchangerepl.exe"
Process ID: 3292
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="VSS" />
<EventID Qualifiers="0">8229</EventID>
<Level>3</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-02-18T09:37:44.000000000Z" />
<EventRecordID>3250498</EventRecordID>
<Channel>Application</Channel>
<Computer>warden.exch13ca.local</Computer>
<Security />
</System>
<EventData>
<Data>0x800423f3, The writer experienced a transient error. If the backup process is retried,
the error may not reoccur.
</Data>
<Data>
Operation:
BackupComplete Event
Context:
Execution Context: Writer
Writer Class Id: {76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}
Writer Name: Microsoft Exchange Writer
Writer Instance Name: Exchange Replication Service
Writer Instance ID: {f3a6219d-4c09-4aad-9055-fea8134b04a8}
Command Line: "C:\Program Files\Microsoft\Exchange Server\V15\Bin\msexchangerepl.exe"
Process ID: 3292</Data>
<Binary>2D20436F64653A20575254575254494330303030353334372D2043616C6C3A20575254575254494330303030333633302D205049443A202030303030333239322D205449443A202030303031363531362D20434D443A202022433A5C50726F6772616D2046696C65735C4D6963726F736F66745C45786368616E6765205365727665725C5631355C42696E5C6D7365786368616E67657265706C2E65786522202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
</EventData>
</Event>
------------------------
Thanks in advance.