Skip to Main Content
Microsoft Exchange 2010 PowerShell Cookbook
book

Microsoft Exchange 2010 PowerShell Cookbook

by Mike Pfeiffer
July 2011
Intermediate to advanced content levelIntermediate to advanced
480 pages
11h 54m
English
Packt Publishing
Content preview from Microsoft Exchange 2010 PowerShell Cookbook

Reseeding a database copy

There may be times when database replication issues arise in your environment. These issues could be caused by hardware failures, network issues, or, in extremely rare cases, log file corruption, and leave you with failed database copies that need to be reseeded. This recipe outlines the process for reseeding database copies using the Exchange Management Shell.

How to do it...

  1. To reseed a database copy, suspend replication using the following command syntax:
    Suspend-MailboxDatabaseCopy -Identity DB01\MBX2 -Confirm:$false
  2. Next, you're ready to reseed the database. Use the Update-MailboxDatabaseCopy cmdlet, as shown:
    Update-MailboxDatabaseCopy -Identity DB01\MBX2 `
    -DeleteExistingFiles

How it works...

When using the Update-MailboxDatabaseCopy ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition - Second Edition

Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition - Second Edition

Jonas Andersson, Mike Pfeiffer

Publisher Resources

ISBN: 9781849682466Other