In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Case scenario:
The company has an Exchange Server (08Server1), which fails and the computer cannot be started. There is a data DB_HR.edb in the server. Use WinPE to copy this data file. Then reinstall Exchange Server on the server (08Server2)
Requirements: how to mount the DB_HR.edb to the new Exchange Server and continue to provide the server, and all the emails of the previous users can continue to be accessed, ensuring that all emails can not be lost.
I. how to operate Exchange Server 2007
1. Recreate the storage group SG_HR, and create a new database DB_HR.edb.
New-StorageGroup-Name SG_HR-Server 08Server2-LogFolderPath: "D:\ Program Files\ Microsoft\ Exchange Server\
SG_HR\ "- SystemFolderPath:" D:\ Program Files\ Microsoft\ Exchange Server\ SG_HR "(create storage group)
New-MailboxDatabase-StorageGroup 08Server2\ SG_HR-Name DB_HR
2. Go to the database folder you just created, delete all log files, and copy the files taken from Windows PE to overwrite the current EDB file, and make sure that "restore can overwrite this database" is selected in the properties of this database.
Set-MailboxDatabase DB_HR-AllowFileRestore:$true
3. Load this database
Mount-Database DB_HR
4. At this time, Exchange Server users cannot access their mailboxes because all users recognize Mailbox roles or 08Server1, and now change the Mailbox attribute of all users to: 08Server2.
Get-Mailbox-Database 08Server1\ DB_HR | where {$_ .ObjectClass-NotMatch'(SystemAttendantMailbox | ExOleDbSystemMailbox)'} | Move-Mailbox-ConfigurationOnly-TargetDatabase 08Server2\ DB_HR
Or Get-Mailbox-database 08Server1\ DB_HR | Move-MailBox-targetDatabase 08Server2\ db_hr-configurationonly:$true
5. At this time, the client visits, and the previous mail can be seen. Recovery complete!
Note:
1) Database portability can only be used for mailbox databases, not for public folder databases.
2) if there is a new mailbox that does not have a message or has not been opened, this command does not move the mailbox because it does not already exist in the store.
II. Exchange Serve 2010
1. Since there is no concept of Storage Group on Exchange Server 2010, you only need to create a database on 08Server2.
New-MailboxDatabase-Name DB_HR-Server 08Server2-EdbFilePath: "D:\ Program Files\ Microsoft\ Exchange Server\ HR\ DB_HR.EDB"-SystemFolderPath: "D:\ Program Files\ Microsoft\ Exchange Server\ HR"
2. Go to the database folder you just created, delete all log files, and copy the files taken from Windows PE to overwrite the current EDB file, and make sure that "restore can overwrite this database" is selected in the properties of this database.
Set-MailboxDatabase DB_HR-AllowFileRestore:$true
3. Load this database
Mount-Database DB_HR
4. At this time, Exchange Server users cannot access their mailboxes because all users recognize Mailbox roles or 08Server1, and now change the Mailbox attribute of all users to: 08Server2.
Get-Mailbox-Database 08Server1 | where {$_ .ObjectClass-NotMatch'(SystemAttendantMailbox | ExOleDbSystemMailbox)'} | Set-Mailbox-Database 08Server2
5. At this time, the client visits, and the previous mail can be seen. Recovery complete!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.