Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange2010-13-16 uses database portability to restore databases

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Verify that the database to be moved is in a clean closed state. If the database is not in a clean shutdown state, a soft recovery is performed.

Remarks

When you perform a soft restore, any uncommitted log files are committed to the database. If you do not have all the required log files, the soft recovery process cannot be completed. Proceed to step 2.

To commit all uncommitted log files to the database, run the following command at the command prompt.

ESEUTIL / R

[! NOTE]

\ specify the log file prefix for the database to which you want to replay the log file. The log file prefix specified by\ is a required parameter for Eseutil / r. \ specifies the log file prefix for the database into which you intend to replay the log files. The log file prefix specified by\ is a required parameter for Eseutil / r.

2. Create a database on the server using the following syntax:

New-MailboxDatabase-Name-Server-EdbFilePath-LogFolderPath

3. Set _ this database can use the following syntax by restoring more than the write _ attribute:

Set-MailboxDatabase-AllowFileRestore $true

4. When you create a new database above, move the original database files (.edb files, log files, and Exchange Search directories) to the database folder you specified.

5. Use the following syntax to mount the database:

Mount-Database

6. After loading the database, use Set-Mailbox cmdlet to modify the user account settings so that the account points to the mailbox on the new Mailbox server. To move all users from the old database to the new database, use the following syntax.

Get-Mailbox-Database | where {$_ .ObjectClass-NotMatch'(SystemAttendantMailbox | ExOleDbSystemMailbox)'} | Set-Mailbox-Database

7. Use the following syntax to trigger the delivery of any messages that remain in the queue.

Get-Queue | Retry-Queue-Resubmit $true

After Active Directory replication is complete, all users can access their mailboxes on the new Exchange server. Most clients are redirected through automatic discovery. Outlook users on Web can also be automatically redirected

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report