From d05c04e2fa4ee9f9e898e06b370040505e00de05 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Sat, 5 Jul 2025 15:54:12 -0600 Subject: [PATCH] Add Servers/Microsoft Exchange/Scripts/DAG/Reseed Replica Database.md --- .../Scripts/DAG/Reseed Replica Database.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Servers/Microsoft Exchange/Scripts/DAG/Reseed Replica Database.md diff --git a/Servers/Microsoft Exchange/Scripts/DAG/Reseed Replica Database.md b/Servers/Microsoft Exchange/Scripts/DAG/Reseed Replica Database.md new file mode 100644 index 0000000..2eeb0f3 --- /dev/null +++ b/Servers/Microsoft Exchange/Scripts/DAG/Reseed Replica Database.md @@ -0,0 +1,15 @@ +### Purpose +If you operate an Exchange Database Availability Group (DAG) with 2 or more servers, you may need to do maintenance to one of the members, and during that maintenance, it's possible that one of the databases of the server that was rebooted etc will be out-of-date. In case this happens, it may suspend the database replication to one of the DAG's member servers. + +### Checking DAG Database Replication Status +You will want to first log into one of the DAG servers and open the *"Exchange Management Shell"*. From there, run the following command to get the status of database replication: + +```powershell +Get-MailboxDatabaseCopyStatus * | Format-Table Name, Status, CopyQueueLength, ReplayQueueLength, ContentIndexState +``` + +!!! example "Example Output" + | **Name** | **Status** | **CopyQueueLength** | **ReplayQueueLength** | **ContentIndexState** | + | :--- | :--- | :--- | :--- | :--- | :--- | + | DB01\MX01 | Mounted | 0 | 0 | Healthy | + | DB01\MX02 | Healthy | 0 | 0 | Healthy | \ No newline at end of file