• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6152
  • Last Modified:

Exchange 2010 one of database backup fails

We are having issue with one of Exchange2010 database backup. Its continuously fail. We have done integrity check and Defragment of this database and which was successful and tried to back up again still backup fails. It seems log file issue. Earlier we had moved some old log files after Database dismount because some space issue on Database drive, since that day we continuously facing daily backup fail issue for this database. Is there any way we can repair or resolve issue of backup fails because of log file issue. There is no issue of email flowing for the mailboxes comes under that database. We use CommVault backup software for backup. Rest of the databases backup runs successfully without any issue. Per Commvault there is something issue with log files of this database. Would you please assist us to resolve this issue. Because of backup fails log files are not purging and result day by day log files size of this database increasing.

Here is the error we get after backup failure.

476 2fa4 08/25 00:25:57 1488250 CsSnapRequestor::GatherWriterStatus() - FAILED_AT_FREEZE status for writer 'Microsoft Exchange Writer'. code VSS_E_WRITERERROR_RETRYABLE

5476 2fa4 08/25 00:25:57 1488250 CsSnapRequestor::GatherWriterStatus() - Signaling bad state returned for writer [Microsoft Exchange Writer] engaged in backup.

5476 2fa4 08/25 00:25:57 1488250 CsSnapRequestor::GatherWriterStatus() - STABLE status for writer 'BITS Writer'. code S_OK

5476 2fa4 08/25 00:25:57 1488250 CsSnapRequestor::GatherWriterStatus() - STABLE status for writer 'IIS Metabase Writer'. code S_OK

5476 2fa4 08/25 00:25:57 1488250 CsSnapRequestor::GatherWriterStatus() - STABLE status for writer 'COM+ REGDB Writer'. code S_OK

5476 2fa4 08/25 00:25:57 1488250 CsSnapRequestor::BackupComplete() - Deleted snapshot set

5476 2fa4 08/25 00:25:57 1488250 CsSnapRequestor::BackupComplete() - Aborting backup!

5476 2fa4 08/25 00:25:57 1488250 CsVssBackupComponents::FreeWriterMetadata() - Free'd all writer metadata

5476 2fa4 08/25 00:25:57 1488250 CsVSSClientExchange2010Shadow::CreateExchangeShadow() - Failed to create Exchange shadow.

5476 2fa4 08/25 00:25:57 1488250 [CsExchangeShadow::CreateExchangeShadow]: Error creating shadow for the backup.

5476 2fa4 08/25 00:25:57 1488250 [::Backup]: Failed to perform VSS backup. Backup will NOT be executed with Classic API's. since its on exchange2010.
0
ShailendraJadhav
Asked:
ShailendraJadhav
  • 5
  • 3
1 Solution
 
gaurav05Commented:
Hi,

can you please provide the failed backup event ID.



0
 
ShailendraJadhavAuthor Commented:
FYI we use third party software i.e. CommVault to take Exchange database backup.

1) Following error log we got on Exchnage server application log at the time of backup was failed :
Log Name:      Application
Source:        VSS
Date:          9/15/2011 4:20:42 PM
Event ID:      8193
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      JRNCLTXCH1.JOERNS.local
Description:
Volume Shadow Copy Service error: Unexpected error calling routine ConvertStringSidToSid(S-1-5-21-1605090762-1096877471-2601278964-1302.bak).  hr = 0x80070539, The security ID structure is invalid.
. Operation:
   OnIdentify event
   Gathering Writer Data
Context:
   Execution Context: Shadow Copy Optimization Writer
   Writer Class Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Name: Shadow Copy Optimization Writer
   Writer Instance ID: {4631c0e0-8e0c-44f3-bae7-02169f6459d0}
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="VSS" />
    <EventID Qualifiers="0">8193</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-09-15T21:20:42.000000000Z" />
    <EventRecordID>569605</EventRecordID>
    <Channel>Application</Channel>
    <Computer>JRNCLTXCH1.JOERNS.local</Computer>
    <Security />
  </System>
  <EventData>
    <Data>ConvertStringSidToSid(S-1-5-21-1605090762-1096877471-2601278964-1302.bak)</Data>
    <Data>0x80070539, The security ID structure is invalid.
</Data>
    <Data>

Operation:
   OnIdentify event
   Gathering Writer Data

Context:
   Execution Context: Shadow Copy Optimization Writer
   Writer Class Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Name: Shadow Copy Optimization Writer
   Writer Instance ID: {4631c0e0-8e0c-44f3-bae7-02169f6459d0}</Data>
    <Binary>2D20436F64653A20534543534543524330303030303931302D2043616C6C3A20534543534543524330303030303930332D205049443A202030303030363737362D205449443A202030303031303630342D20434D443A2020433A5C57696E646F77735C73797374656D33325C76737376632E6578652020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary>
  </EventData>
</Event>
_________________________________________________________________________________

2) Following error log we got from CommVault backup server when backup was failed.

12680 22f8 09/15 16:21:42 1557441 CsSnapRequestor::GatherWriterStatus() - FAILED_AT_PREPARE_SNAPSHOT status for writer 'Microsoft Exchange Writer'. code VSS_E_WRITERERROR_RETRYABLE

12680 22f8 09/15 16:21:42 1557441 CsSnapRequestor::GatherWriterStatus() - Signaling bad state returned for writer [Microsoft Exchange Writer] engaged in backup.

12680 22f8 09/15 16:21:42 1557441 CsSnapRequestor::GatherWriterStatus() - STABLE status for writer 'IIS Metabase Writer'. code S_OK

12680 22f8 09/15 16:21:42 1557441 CsSnapRequestor::BackupComplete() - Deleted snapshot set

12680 22f8 09/15 16:21:42 1557441 CsSnapRequestor::BackupComplete() - Aborting backup!

12680 22f8 09/15 16:21:42 1557441 CsVssBackupComponents::FreeWriterMetadata() - Free'd all writer metadata

12680 22f8 09/15 16:21:42 1557441 CsVSSClientExchange2010Shadow::CreateExchangeShadow() - Failed to create Exchange shadow.

12680 22f8 09/15 16:21:42 1557441 [CsExchangeShadow::CreateExchangeShadow]: Error creating shadow for the backup.

12680 22f8 09/15 16:21:42 1557441 [::Backup]: Failed to perform VSS backup. Backup will NOT be executed with Classic API's. since its on exchange2010.

12680 22f8 09/15 16:21:42 1557441 ::cleanUp() - Notifying Job Manager of backup phase failure.

12680 22f8 09/15 16:21:42 1557441 BKP CALLED COMPLETE (PHASE Status::FAIL), 1557441. Token [1557441:4:2]

12680 22f8 09/15 16:21:49 1557441 [::cleanUp]: back from notifying Job Manager of backup phase failure.

12680 2e1c 09/15 16:21:49 1557441 CVJobCtrlLog::unregisterProcess(): successfuly removed file [C:\Program Files\CommVault\Simpana\Base\JobControl\12.680]

12680 22f8 09/15 16:21:49 1557441 ::Backup() - Closing pipeline.

12680 22f8 09/15 16:21:49 1557441 CVArchive::ClosePipeline() - Closing Pipeline
0
 
gaurav05Commented:
Hi,


just type in regedit.exe in run and navigate the VSS registry key

HKLM\SYSTEM\CurrentControlSet\Services\VSS\Diag

Right click on Diag, go to permissions and give the service account listed under details tab in the error with full control permissions.

This should fix the error, you can check this by restarting the office search service by using NET STOP OSEARCH and NET START OSEARCH


feel free to discuss.
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
gaurav05Commented:

make sure you must take backup  of registry.


also you have full backup of server.
0
 
gaurav05Commented:
0
 
ShailendraJadhavAuthor Commented:
We have total 5 databases. Out of 5 databases only one having backup issue rest 4 databases backup runs successfully. If it is Diag permission issue in registery we should have got this issue for other 4 databases backup as well but this is not the case. One thing I want to inform you that we face this issue since we deleted some old log files of this database, however database works fine, all mailboxes under this database doesn't have any issue , May this info help you to give me the solution. Is there any utility on Exchange 2010 server to repair log file folder as we do on database by using ESEUTIL utility.I guess this issue related log files .
0
 
ShailendraJadhavAuthor Commented:
Any help on this? Have been awaiting for your responce
0
 
gaurav05Commented:
Hi,

Please take backup before you do any activity on server.

Please run Eseutil /mh "database file" to check the health of the database file, see if the status is “Dirty Shutdown”. If yes, please
restore the good database from backup files



0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now