cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

Exchange 2010 DB in DAG restore fails with error 5

jlutzhoft
Level 4

Hello

When I try to restore a DB in an E2010 DAG it fails with error 5.

The database file is restored and while netbackup is running I can see more than 100.000 log files in the _restoredLogs folder.
After the restore fails, these files are removed automatically.

I'm using the MS-Exchange-Server policy and have made sure that the Source client for restores contains the FQDN and short name for both server and DAG.

 

12:05:36 1/30/2014: Restore Started

 
12:06:28 (595354.xxx) Media id I00166 is needed for the restore.
 
12:06:29 (595354.001) Restoring from copy 3 of image created Thu Oct 17 03:12:46 2013
12:07:02 (595354.001) INF - TAR STARTED 21684
12:07:03 (595354.001) INF - If Media id I00166 is not in a robotic library administrative interaction may be required to satisfy this mount request.
12:07:06 (595354.001) INF - Waiting for mount of media id I00166 on server backupserver for reading.
12:07:56 (595354.001) INF - Waiting for positioning of media id I00166 on server backupserver for reading.
12:10:23 (595354.001) INF - Beginning restore from server backupserver to client EXCHANGESRV.
12:10:23 (595354.001) TAR - Microsoft Exchange Database Availability Groups:\
12:10:23 (595354.001) TAR - Microsoft Exchange Database Availability Groups:\ExchangeDAG.domain.com\
12:10:23 (595354.001) TAR - Microsoft Exchange Database Availability Groups:\ExchangeDAG.domain.com\Microsoft Information Store\
12:10:23 (595354.001) TAR - Microsoft Exchange Database Availability Groups:\ExchangeDAG.domain.com\Microsoft Information Store\DAG1DB02\
12:10:23 (595354.001) MNR - The file was renamed to the following:
12:10:23 (595354.001) UTF - Microsoft Exchange Database Availability Groups:\ExchangeDAG.domain.com\Microsoft Information Store\Restore\
12:10:32 (595354.001) TAR - Microsoft Exchange Database Availability Groups:\ExchangeDAG.domain.com\Microsoft Information Store\DAG1DB02\Database
12:10:32 (595354.001) MNR - The file was renamed to the following:
12:10:32 (595354.001) UTF - Microsoft Exchange Database Availability Groups:\ExchangeDAG.domain.com\Microsoft Information Store\Restore\Database
13:03:37 (595354.001) TAR - Microsoft Exchange Database Availability Groups:\ExchangeDAG.domain.com\Microsoft Information Store\DAG1DB02\Logs_1381969332
13:03:37 (595354.001) MNR - The file was renamed to the following:
13:03:37 (595354.001) UTF - Microsoft Exchange Database Availability Groups:\ExchangeDAG.domain.com\Microsoft Information Store\Restore\Logs_1381969332
13:26:41 (595354.001) INF - There are no jobs remaining for this restore request. Exchange database recovery will be performed.
13:26:41 (595354.001) INF - After restoring a Microsoft Exchange LCR, CCR, or DAG database, you must use the Exchange Management Shell to resume replication.
14:39:40 (595354.001) WRN - MountDatabase failed with error(0x0) for machine ExchangeDAG, storage group Restore, database Restore
14:39:41 (595354.001) WRN - Exchange database recovery may have failed. Please check the event log for further details.
14:39:41 (595354.001) ERR - An Exchange restore error was detected.  You may need to manually mount the Database stores to successfully finish the restore.
14:39:41 (595354.001) INF - TAR EXITING WITH STATUS = 5
14:39:41 (595354.001) INF - TAR RESTORED 6 OF 6 FILES SUCCESSFULLY
14:39:41 (595354.001) INF - TAR KEPT 0 EXISTING FILES
14:39:41 (595354.001) INF - TAR PARTIALLY RESTORED 0 FILES
14:39:42 (595354.001) Status of restore from copy 3 of image created Thu Oct 17 03:12:46 2013 = tar did not find all the files to be restored
 
14:39:48 INF - Server status = 2810
14:39:49 (595354.xxx) INF - Status = MS-Exchange-Server policy restore error.
 
14:39:52 INF - Server status = 5
14:39:53 Status of restore from copy 3 of image created Thu Oct 17 03:12:46 2013 = the restore failed to recover the requested files
 
14:39:53 The following files/folders were not restored:
14:39:53 UTF - /Microsoft Exchange Database Availability Groups/
14:39:53 UTF - /Microsoft Exchange Database Availability Groups/ExchangeDAG.domain.com/
14:39:53 UTF - /Microsoft Exchange Database Availability Groups/ExchangeDAG.domain.com/Microsoft Information Store/
14:39:53 UTF - /Microsoft Exchange Database Availability Groups/ExchangeDAG.domain.com/Microsoft Information Store/DAG1DB02/
14:39:53 UTF - /Microsoft Exchange Database Availability Groups/ExchangeDAG.domain.com/Microsoft Information Store/DAG1DB02/Database
14:39:53 UTF - /Microsoft Exchange Database Availability Groups/ExchangeDAG.domain.com/Microsoft Information Store/DAG1DB02/Logs_1381969332
 
14:39:54 (595353.xxx) INF - Status = the restore failed to recover the requested files.
 
 

This event is logged in Application Log:

Log Name:      Application
Source:        MSExchange Search Indexer
Date:          1/30/2014 2:39:11 PM
Event ID:      104
Task Category: General
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ExchangeMBX.domain.com
Description:
Exchange Search Indexer failed to enable the Mailbox Database Restore (GUID = 529e0199-9118-4d8c-ad98-74a81b0bf3c9) after 1 tries. The last failure was: MapiExceptionMdbOffline: Unable to Get Catalog State (hr=0x80004005, ec=1142)
Diagnostic context:
    Lid: 1494    ---- Remote Context Beg ----
    Lid: 44215
    Lid: 60049   StoreEc: 0x8004010F
    Lid: 49469
    Lid: 65341   StoreEc: 0x8004010F
    Lid: 56125
    Lid: 47933   StoreEc: 0x8004010F
    Lid: 32829
    Lid: 49213   StoreEc: 0x8004010F
    Lid: 48573
    Lid: 64957   StoreEc: 0x8004010F
    Lid: 31321   StoreEc: 0x476    
    Lid: 1750    ---- Remote Context End ----
    Lid: 19154   StoreEc: 0x476    
    Lid: 22081   StoreEc: 0x476     . It will retry after 10 minutes.
 
What's wrong???
 
Thanks,
Jens
2 REPLIES 2

RamNagalla
Moderator
Moderator
Partner    VIP    Certified
14:39:40 (595354.001) WRN - MountDatabase failed with error(0x0) for machine ExchangeDAG, storage group Restore, database Restore 
14:39:41 (595354.001) WRN - Exchange database recovery may have failed. Please check the event log for further details.
14:39:41 (595354.001) ERR - An Exchange restore error was detected.  You may need to manually mount the Database stores to successfully finish the restore
 
it looks like you have selected mount database option after recovery in the restore window..
 
try to restore without selecting that option and let the Exchage team to do the Manual mount and see how it works...

jlutzhoft
Level 4

Hi Nagalla

The mount fails because there are no log files...

I have tried both "Roll-Forward Recovery (Replay all log files)" and "Point-in-Time Recovery (Replay only restored log files)".

I have also tried to select and de-select "Commit after last backup set is restored". When I select this option "Mount Database" is also selected, it's grayed out so I can't de-select it.

When "Commit after last backup set is restored" is de-selected, log files and check point files remains in the _restoredLogs folder. I have tried to move them to the folder where they should be, but the database mount still fails.