最佳解答者
如何取回電郵

問題
解答
-
您好!
Point in Time Restoration不需要备份原数据库中的日志文件,而roll forward restoration需要备份原数据库中的日志文件。
备份的方法大致如下:
1、 卸载原数据库;
2、 通过eseutil命令来验证数据库文件是一致的;
3、 拷贝数据库文件(.edb和.stm)到备份的位置;
如果要roll forward restoration的话,您还应该备份E0nxxxxx.log日志文件,注意,不需要备份E0n.log, Res1.log,和Res2.log日志文件;
4、 加载备份数据库;
还原的时候要满足下面这些条件:
For point in time restorations, all of the stopped databases in the storage group must be consistent, and there must be a valid checkpoint file. Do not delete the current checkpoint file or any existing log files.
For roll forward restorations, all of the databases in the storage group must be stopped and consistent, and all of the log files that were created after the time that the backup was taken must exist (including the current E0n.log). The checkpoint file must be deleted.
Rock Wang 望正茂
Rock Wang– MSFT- 已標示為解答 Rock Wang– MSFTModerator 2009年4月3日 上午 07:16
所有回覆
-
您好!
請問您的服務器是Exchange 還是Small Business Server(SBS),如果是SBS的話,建議您將它發送到SBS的論壇中。
首先要說明的是Exchange 數據庫的工作原理,Exchange 數據庫是基于事務,為了避免對磁盤上的數據庫文件執行文件級的備份或者脫機備份,最好的方法是執行正常的聯機備份,確保系統中所有的數據,包括沒有保存被更新到磁盤上的事務也被保存下來。
因此您使用的直接拷貝數據庫文件的方法是不對的。通過這種方式也無法將原來的數據還原回來。
正確的備份方法應該是使用NTBACKUP或者第三方備份工具來備份數據庫,然後在使用NTBACKUP或者第三方備份工具來恢複。
詳細的信息,請參考下面的鏈接:
備份 Exchange Server 2003
http://technet.microsoft.com/zh-cn/library/aa997165.aspx還原 Exchange Server 2003
http://technet.microsoft.com/zh-cn/library/aa998965(EXCHG.65).aspxRock Wang 望正茂
Rock Wang– MSFT -
您好!
請問您離線備份原來的數據庫文件,您在備份之前有沒有將數據庫卸載?
您有沒有備份E0n.log, Res1.log, 和 Res2.log日志文件?
在原來的服務器卸載數據庫,運行下面的命令,將生成的結果發送到論壇中:
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.edb" | find /i "DB Signature"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.stm" | find /i "DB Signature"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.stm" | find /i "consistent"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.edb" | find /i "consistent"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.stm" | find /i "shutdown"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.edb" | find /i "shutdown"
注意:您需要將C:\Program Files\Exchsrvr\mdbdata\priv1.edb/priv1.stm替換為實際的路徑名稱。
有關如何離線備份和還原Exchange 的詳細信息,請參考下面的鏈接:
Offline Backup and Restoration Procedures for Exchange
http://support.microsoft.com/kb/296788/en-usRock Wang 望正茂
Rock Wang– MSFT -
Some third-party software support extract mailboxes directly without mount the database. However, the software seem not cheap. you can refer below link for some third-party software. Anyway Would you post your error messages for further analysis?
http://www.unistal.com/exchange-recovery-tool.html
http://www.exchangeserverrecovery.com/
http://www.stellarinfo.com/edb-exchange-server-recovery.htm
http://www.officerecovery.com/exchangeserver/
http://www.re-soft.com/product/powercontrols.htm -
您好!
您有沒有備份Res1.log, 和 Res2.log日志文件?
在原來的服務器卸載數據庫,運行下面的命令,將生成的結果發送到論壇中:
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.edb" | find /i "DB Signature"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.stm" | find /i "DB Signature"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.stm" | find /i "consistent"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.edb" | find /i "consistent"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.stm" | find /i "shutdown"
C:\Program Files\Exchsrvr\bin>eseutil /mh "C:\Program Files\Exchsrvr\mdbdata\priv1.edb" | find /i "shutdown"
注意:您需要將C:\Program Files\Exchsrvr\mdbdata\priv1.edb/priv1.stm替換為實際的路徑名稱。
这样我们可以判断您在备份之前数据库是否被正确地卸载,如果不是正确的卸载的话,您的离线备份可能无效,这样您在还原的时候会遇到问题。
谢谢您的配合!
Rock Wang 望正茂
Rock Wang– MSFT -
您好! 感謝回覆
1. 備份時並沒有備份 Res1.log and Res2.log
2. Mounting 後的訊息:
An internal processing error has occurred. Try restarting the Exchange System Manager or the Microsoft Exchange Information Store service., or both
ID no: c1041724
Exchange System Manager3. 其他資料: (EDB 經 eseutil /p 後有下列結果 - 重灌時忘記了調整日期及時間)
EDB: DB Signature: Create time:01/01/2002 01:15:56 Rand:14968568 Computer:
STM: DB Signature: Create time:01/01/2002 01:15:56 Rand:14968568 Computer:
STM: Last Consistent: (0x0,0,0) 00/00/1900 00:00:00
EDB: Last Consistent: (0x0,0,0) 03/29/2009 04:48:54
EDB: State: Clean Shutdown
STM: State: Clean Shutdown4. Thirth-Party Software:
Special thank to Billy Chau -
如果你只有一個priv1.edb, 你可以用eseutil /p 嘗試一下, 有關的資料如下:
http://technet.microsoft.com/en-us/library/aa998249.aspx -
您好!
3. 其他資料: (EDB 經 eseutil /p 後有下列結果 - 重灌時忘記了調整日期及時間)
EDB: DB Signature: Create time:01/01/2002 01:15:56 Rand:14968568 Computer:
STM: DB Signature: Create time:01/01/2002 01:15:56 Rand:14968568 Computer:
STM: Last Consistent: (0x0,0,0) 00/00/1900 00:00:00
EDB: Last Consistent: (0x0,0,0) 03/29/2009 04:48:54
EDB: State: Clean Shutdown
STM: State: Clean Shutdown
请问上面的信息是在原来的服务器运行相关命令产生的还是在重新安装后的服务器上运行相关命令产生的?
您是想执行Point in Time Restoration还是roll forward restorations?
您在离线备份的时候,有没有备份numbered transaction log files (the E0nxxxxx.log files)?
Rock Wang 望正茂
Rock Wang– MSFT -
您好! 感謝回覆
"3. 其他資料: (EDB 經 eseutil /p 後有下列結果 - 重灌時忘記了調整日期及時間)
EDB: DB Signature: Create time:01/01/2002 01:15:56 Rand:14968568 Computer:
STM: DB Signature: Create time:01/01/2002 01:15:56 Rand:14968568 Computer:
STM: Last Consistent: (0x0,0,0) 00/00/1900 00:00:00
EDB: Last Consistent: (0x0,0,0) 03/29/2009 04:48:54 (重設 Clock 後再 執行"eseutil /p")
EDB: State: Clean Shutdown
STM: State: Clean Shutdown"
- 上面的信息是在重新安装服务器后运行相关命令产生的
- 在离线备份的时候,有没有备份numbered transaction log files (the E0nxxxxx.log files)
- 理想的話: 可以把舊的電郵重新掛在相關的使用者郵箱, 方便他們自行讀取所有電郵, 如果不成的話, 請提供可行的方法來讀取所有的電郵
- 感謝 Jacky 提供幫助, 有關 "eseutil /p" 已執行, 有關結果為第三點
感謝
-
您好!
在离线备份的时候,您有没有备份numbered transaction log files (the E0nxxxxx.log files)?
如果您没有备份的话,您只能执行Point in Time Restoration。这样的话,那些保存在log中还没有被写到.edb数据库文件中的邮件是无法恢复的。
如果您备份了numbered transaction log files (the E0nxxxxx.log files)日志的话,您可以执行roll forward restorations。那些保存在log中还没有被写到.edb数据库文件中的邮件也是可以恢复的。
Rock Wang 望正茂
Rock Wang– MSFT -
您好!
Point in Time Restoration不需要备份原数据库中的日志文件,而roll forward restoration需要备份原数据库中的日志文件。
备份的方法大致如下:
1、 卸载原数据库;
2、 通过eseutil命令来验证数据库文件是一致的;
3、 拷贝数据库文件(.edb和.stm)到备份的位置;
如果要roll forward restoration的话,您还应该备份E0nxxxxx.log日志文件,注意,不需要备份E0n.log, Res1.log,和Res2.log日志文件;
4、 加载备份数据库;
还原的时候要满足下面这些条件:
For point in time restorations, all of the stopped databases in the storage group must be consistent, and there must be a valid checkpoint file. Do not delete the current checkpoint file or any existing log files.
For roll forward restorations, all of the databases in the storage group must be stopped and consistent, and all of the log files that were created after the time that the backup was taken must exist (including the current E0n.log). The checkpoint file must be deleted.
Rock Wang 望正茂
Rock Wang– MSFT- 已標示為解答 Rock Wang– MSFTModerator 2009年4月3日 上午 07:16