Update-MailboxDatabaseCopy

 

Applies to: Exchange Server 2016

Topic Last Modified: 2016-07-26

This cmdlet is available only in on-premises Exchange Server 2016.

Use the Update-MailboxDatabaseCopy cmdlet to seed or reseed a mailbox database copy.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Update-MailboxDatabaseCopy -Identity <DatabaseCopyIdParameter> [-BeginSeed <SwitchParameter>] [-CatalogOnly <SwitchParameter>] [-DatabaseOnly <SwitchParameter>] [-DeleteExistingFiles <SwitchParameter>] [-Force <SwitchParameter>] [-ManualResume <SwitchParameter>] [-Network <DatabaseAvailabilityGroupNetworkIdParameter>] [-NetworkCompressionOverride <UseDagDefault | Off | On>] [-NetworkEncryptionOverride <UseDagDefault | Off | On>] [-NoThrottle <SwitchParameter>] [-PrimaryDatabasePartitionOnly <SwitchParameter>] [-SafeDeleteExistingFiles <SwitchParameter>] [-SourceServer <ServerIdParameter>] <COMMON PARAMETERS>

Update-MailboxDatabaseCopy -CancelSeed <SwitchParameter> -Identity <DatabaseCopyIdParameter> <COMMON PARAMETERS>

Update-MailboxDatabaseCopy -Server <MailboxServerIdParameter> [-CatalogOnly <SwitchParameter>] [-DatabaseOnly <SwitchParameter>] [-DeleteExistingFiles <SwitchParameter>] [-ManualResume <SwitchParameter>] [-MaximumSeedsInParallel <Int32>] [-NetworkCompressionOverride <UseDagDefault | Off | On>] [-NetworkEncryptionOverride <UseDagDefault | Off | On>] [-NoThrottle <SwitchParameter>] [-PrimaryDatabasePartitionOnly <SwitchParameter>] [-SafeDeleteExistingFiles <SwitchParameter>] <COMMON PARAMETERS>

COMMON PARAMETERS: [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

This example seeds a copy of the database DB1 on the Mailbox server MBX1.

Update-MailboxDatabaseCopy -Identity DB1\MBX1

This example seeds a copy of the database DB1 on the Mailbox server MBX1 using MBX2 as the source Mailbox server for the seed.

Update-MailboxDatabaseCopy -Identity DB1\MBX1 -SourceServer MBX2

This example seeds a copy of the database DB1 on the Mailbox server MBX1 without seeding the content index catalog.

Update-MailboxDatabaseCopy -Identity DB1\MBX1 -DatabaseOnly

This example seeds the content index catalog for the copy of the database DB1 on the Mailbox server MBX1 without seeding the database file. The content index catalog seeding occurs over the MAPI network.

Update-MailboxDatabaseCopy -Identity DB1\MBX1 -CatalogOnly

This example performs a full server reseed of all of the databases on the Mailbox server MBX1.

Update-MailboxDatabaseCopy -Server MBX1

Seeding is the process in which a copy of a mailbox database is added to another Mailbox server. This becomes the database copy into which copied log files and data are replayed.

The Update-MailboxDatabaseCopy cmdlet can also be used to seed a content index catalog for a mailbox database copy. When you do this, the MAPI network is used, regardless of the value you specify with the Network parameter.

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 "Database availability groups" entry in the High availability and site resilience permissions topic.

 

Parameter Required Type Description

CancelSeed

Required

System.Management.Automation.SwitchParameter

The CancelSeed switch specifies whether to cancel an in-progress seeding operation.

Identity

Required

Microsoft.Exchange.Configuration.Tasks.DatabaseCopyIdParameter

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

Server

Required

Microsoft.Exchange.Configuration.Tasks.MailboxServerIdParameter

The Server parameter is used as part of a full server reseed operation. It can be used with the MaximumSeedsInParallel parameter to start reseeds of database copies in parallel across the specified server in batches of up to the value of the MaximumSeedsInParallel parameter copies at a time.

BeginSeed

Optional

System.Management.Automation.SwitchParameter

The BeginSeed parameter is useful for scripting reseeds, because with this parameter, the task asynchronously starts the seeding operation and then exits the cmdlet.

CatalogOnly

Optional

System.Management.Automation.SwitchParameter

The CatalogOnly parameter specifies that only the content index catalog for the database copy should be seeded.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.

  • Destructive cmdlets (for example, Remove-* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: -Confirm:$false.

  • Most other cmdlets (for example, New-* and Set-* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding.

DatabaseOnly

Optional

System.Management.Automation.SwitchParameter

The DatabaseOnly parameter specifies that only the database copy should be seeded. The content index catalog isn't seeded.

DeleteExistingFiles

Optional

System.Management.Automation.SwitchParameter

The DeleteExistingFiles switch specifies whether 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 domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.

Force

Optional

System.Management.Automation.SwitchParameter

The Force switch specifies whether to suppress warning or confirmation messages. You can use this switch to run tasks programmatically where prompting for administrative input is inappropriate. You don't need to specify a value with this switch.

ManualResume

Optional

System.Management.Automation.SwitchParameter

The ManualResume switch specifies whether to automatically resume replication on the database copy. With this parameter, you can manually resume replication to the database copy.

MaximumSeedsInParallel

Optional

System.Int32

The MaximumSeedsInParallel parameter is used with the Server parameter to specify the maximum number of parallel seeding operations that should occur across the specified server during a full server reseed operation. The default value is 10.

Network

Optional

Microsoft.Exchange.Configuration.Tasks.DatabaseAvailabilityGroupNetworkIdParameter

The Network parameter specifies which DAG network should be used for seeding. Note that content index catalog seeding always occurs over the MAPI network, even if you use this parameter to specify the DAG network.

NetworkCompressionOverride

Optional

Microsoft.Exchange.Management.SystemConfigurationTasks.UseDagDefaultOnOff

The NetworkCompressionOverride parameter specifies whether to override the current DAG network compression settings.

NetworkEncryptionOverride

Optional

Microsoft.Exchange.Management.SystemConfigurationTasks.UseDagDefaultOnOff

The NetworkEncryptionOverride parameter specifies whether to override the current DAG encryption settings.

NoThrottle

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

PrimaryDatabasePartitionOnly

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

SafeDeleteExistingFiles

Optional

System.Management.Automation.SwitchParameter

The SafeDeleteExistingFiles parameter is used to perform a seeding operation with a single copy redundancy pre-check prior to the seed. Because this parameter includes the redundancy safety check, it requires a lower level of permissions than the DeleteExistingFiles parameter, enabling a limited permission administrator to perform the seeding operation.

SourceServer

Optional

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

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

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.

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.

 
Show: