Export (0) Print
Expand All

Update-MailboxDatabaseCopy

Exchange 2010
 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2012-11-19

Use the Update-MailboxDatabaseCopy cmdlet to seed or reseed a mailbox database copy. Seeding is the process in which a copy of a mailbox database is added to another Mailbox server. This becomes the baseline database for the copy.

The Update-MailboxDatabaseCopy cmdlet can also be used to seed a content index catalog for a mailbox database copy.


Update-MailboxDatabaseCopy -Identity <DatabaseCopyIdParameter> [-CatalogOnly <SwitchParameter>] [-Confirm [<SwitchParameter>]] [-DatabaseOnly <SwitchParameter>] [-DeleteExistingFiles <SwitchParameter>] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-ManualResume <SwitchParameter>] [-Network <DatabaseAvailabilityGroupNetworkIdParameter>] [-NetworkCompressionOverride <UseDagDefault | Off | On>] [-NetworkEncryptionOverride <UseDagDefault | Off | On>] [-SourceServer <ServerIdParameter>] [-WhatIf [<SwitchParameter>]]

You must suspend a database copy before you can update it using the Update-MailboxDatabaseCopy cmdlet. For detailed steps about how to suspend a database copy, see Suspend or Resume a Mailbox Database Copy.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the"mailbox database copy" entry in the High Availability Permissions topic.

 

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.DatabaseCopyIdParameter

The Identity parameter specifies the name or GUID of the mailbox database whose copy is being seeded.

CatalogOnly

Optional

System.Management.Automation.SwitchParameter

The CatalogOnly parameter specifies that only the content index catalog for the database copy should be seeded. The database copy is not seeded. By default, both the database and catalog are seeded.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.

DatabaseOnly

Optional

System.Management.Automation.SwitchParameter

The DatabaseOnly parameter specifies that only the database copy should be seeded. The content index catalog is not seeded.

DeleteExistingFiles

Optional

System.Management.Automation.SwitchParameter

The DeleteExistingFiles parameter causes the command to remove the existing log files at the target location. This parameter removes only the files that it checks for and fails if other files are present. No action is taken on other files at the target location. Therefore, if database-related files are present, you must manually remove them.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.

Force

Optional

System.Management.Automation.SwitchParameter

Use the Force parameter when the task is run programmatically and prompting for administrative input is inappropriate. If Force is not provided in the command, administrative input is prompted. If Force is provided in the command, but the value is omitted, its default value is $true.

ManualResume

Optional

System.Management.Automation.SwitchParameter

Use the ManualResume parameter when you don't want the command to automatically resume replication on the database copy. This parameter allows you to manually resume replication to the database copy.

Network

Optional

Microsoft.Exchange.Configuration.Tasks.DatabaseAvailabilityGroupNetworkIdParameter

The Network parameter specifies which DAG network should be used for seeding.

NetworkCompressionOverride

Optional

Microsoft.Exchange.Management.SystemConfigurationTasks.UseDagDefaultOnOff

The NetworkCompressionOverride parameter is used to override the compression setting for seeding and the database availability group (DAG).

NetworkEncryptionOverride

Optional

Microsoft.Exchange.Management.SystemConfigurationTasks.UseDagDefaultOnOff

The NetworkEncryptionOverride parameter is used to override the encryption setting for seeding and the DAG.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

SourceServer

Optional

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

The SourceServer parameter is used to specify the name of a Mailbox server with a passive copy of the mailbox database to be used as the source for the seed operation.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

This example shows how to seed a copy of a database named DB1 on MBX1.

Update-MailboxDatabaseCopy -Identity DB1\MBX1

This example shows how to seed a copy of a database named DB1 on MBX1 using MBX2 as the source Mailbox server for the seed.

Update-MailboxDatabaseCopy -Identity DB1\MBX1 -SourceServer MBX2

This example shows how to seed a copy of a database named DB1 on MBX1 without seeding the content index catalog.

Update-MailboxDatabaseCopy -Identity DB1\MBX1 -DatabaseOnly 

This example shows how to seed the content index catalog for the copy of a database named DB1 on MBX1 without seeding the database file.

Update-MailboxDatabaseCopy -Identity DB1\MBX1 -CatalogOnly
 © 2010 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft