[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Exchange 2010 one of database backup fails

Posted on 2011-09-13
8
Medium Priority
?
6,060 Views
Last Modified: 2012-06-27
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
Comment
Question by:ShailendraJadhav
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 10

Expert Comment

by:gaurav05
ID: 36529051
Hi,

can you please provide the failed backup event ID.



0
 

Author Comment

by:ShailendraJadhav
ID: 36548242
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
 
LVL 10

Expert Comment

by:gaurav05
ID: 36548312
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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 10

Expert Comment

by:gaurav05
ID: 36548316

make sure you must take backup  of registry.


also you have full backup of server.
0
 
LVL 10

Expert Comment

by:gaurav05
ID: 36548331
0
 

Author Comment

by:ShailendraJadhav
ID: 36548463
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
 

Author Comment

by:ShailendraJadhav
ID: 36716760
Any help on this? Have been awaiting for your responce
0
 
LVL 10

Accepted Solution

by:
gaurav05 earned 2000 total points
ID: 36716862
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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question