Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

NTDS Replication event 2089: "This directory partition has not been backed up"

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

Event 2089 in the Directory Service log is a warning that a domain controller's directory partition has not been backed up for longer than the backup latency interval. Microsoft's page says the interval defaults to half the forest's tombstone lifetime, and that the event is logged once a day for each partition until a backup is taken.

The warning is about backup age, not about replication. Microsoft's page says the event warns administrators to make sure that domain controllers are backed up before the tombstone lifetime (TSL) expires.

What the error means

Microsoft's page, "NTDS Replication Event 2089 is logged if Windows Server 2003 SP1 and later domain controllers aren't backed up in a given time period", explains the mechanism. The DSA Signature attribute is modified every time a system state backup is made, and the operating system monitors that attribute. An event is logged when the backup latency interval criteria are met. The page adds that any Windows Server 2003 SP1-based domain controller may log the event, because the DSA Signature attribute is a replicated attribute, and that the event is not logged until a backup has been made on such a domain controller. It points to Microsoft Knowledge Base article 216993, "Useful shelf life of a system-state backup of Active Directory", for more information.

The event looks like this on the page:

Event Type: Warning
Event Source: NTDS Replication
Event Category: Backup Event ID: 2089
Description: This directory partition has not been backed up since at least the following number of days.
Directory partition:
DC=domainDC=com
"Backup latency interval" (days):
30

The page says "Only one event error message is logged each day for each partition that a domain controller hosts", and that if you have not taken a backup within the interval, "this message will be logged every day until a backup is taken."

The partition line names which partition is stale. Microsoft's page says the event is logged for each writable domain or application partition that the domain controller hosts.

Likely causes

Cause What you see How to confirm
No system state backup of the partition within the interval Event 2089 each day with the partition and interval in the text The partition named in the event is not covered by any recent backup of any domain controller that holds it
A backup program that does not update the DSA Signature attribute Backups run and report success, but 2089 continues The page says third-party programs "may use a method that calls the backup API that updates the attribute"; a program that does not call it will leave the attribute unchanged
An interval that is shorter than your backup schedule 2089 appears between scheduled backups Compare the "Backup latency interval" in the event with the gap between your backups

The second and third rows are inferences from how Microsoft's page describes the attribute and the interval: it describes how the attribute is updated and how the interval is set, but it does not list these as named causes of 2089.

Prove the cause before changing anything

All of these only read.

  1. Open the Directory Service log in Event Viewer on the domain controller and find event 2089. Note the directory partition and the number of days in the "Backup latency interval" line.
  2. Find out when each domain controller was last backed up. The page says you can take the backup "of any replica that holds this partition", and it recommends system state backups of each partition on at least two computers every day.
  3. If your backup product is third party, check with its vendor or documentation whether it calls the Windows backup API for system state. The page does not name any product.
  4. Confirm the interval the system is using. By default it is half the forest's tombstone lifetime. The page says the interval can be overridden by a registry entry, Backup Latency Threshold (days), under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters. Open Registry Editor and note whether that entry exists and what its value data is.

The tombstone lifetime defaults the page gives are those of 2003-era forests: 60 days, and 180 days in a new forest created on Windows Server 2003 SP1, which gives a first event at 30 and 90 days after the last backup respectively. Your own forest's tombstone lifetime is not on this page; see replication event 2042 and error 8614 for why it matters.

Example (illustrative): at contoso.com.au, dc01 logs event 2089 for DC=contoso,DC=com.au with a backup latency interval of 90 days. No system state backup of any domain controller holding that partition has completed in 91 days, because the backup job was changed to cover files only. The cause is a backup that no longer includes system state.

Fix

The fix is a backup. The page says "You can take a backup of any replica that holds this partition", and its deployment advice is to "take system state backups that include each forest, domain, and application partition on at least two computers every day". It recommends configuring the event to occur every other day if a backup is not made.

Risk: the next step runs a system state backup of a domain controller. That puts load on the domain controller while it runs, and the page says it modifies the DSA Signature attribute, a replicated attribute.

Restore your backup product's system state schedule for the domain controllers, or take one backup of a domain controller that holds each partition named in the event. Check the product's own steps for a system state backup; the page does not give them. The page says the DSA Signature attribute is modified every time a system state backup is made, and that the operating system monitors that attribute. A backup therefore changes that one attribute, and nothing else about it is described.

Changing the threshold does not clear the warning for a partition that has not been backed up. It only moves the point at which the event is logged. If you decide the default interval no longer fits your backup schedule, the page gives a way to set it, shown below.

Before you change the threshold, save the key. Run this in an elevated command prompt on the domain controller, with a file name of your choice:

reg export HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters C:\Temp\ntds-parameters-before.reg

Also write down the existing value data of Backup Latency Threshold (days), or that the entry did not exist.

Risk: the next steps add or change one registry value on a domain controller. That value decides how soon event 2089 is logged, so a larger number delays the warning that a partition has not been backed up. The page gives the entry's name and type exactly: a DWORD value named Backup Latency Threshold (days).

Make the change in Registry Editor, as the page describes:

  1. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters.
  2. Right-click Parameters, point to New, and select DWORD Value.
  3. Type Backup Latency Threshold (days) and press Enter.
  4. Right-click it and select Modify.
  5. In Value data, type the number of days to use as the threshold, and select OK.

The page's note says this is a registry entry, "but not a key as stated in the event error message".

To undo it: in Registry Editor, delete the Backup Latency Threshold (days) value if you created it, or change its data back to the number you wrote down. The exported file is your record of the key as it was.

Confirm the fix

  • After the backup completes, the page says the event "will be logged every day until a backup is taken". Check the Directory Service log on the following day: no new 2089 for that partition should appear.
  • If you changed the threshold, check that the interval in the next event, should one appear, shows the new number of days.
  • Keep a record of the date of the last backup of each partition. That date is what the event is measuring.

What to watch afterwards

  • Event 2089 returning. The page describes the event as "a useful tracking event to monitor applications such as Microsoft Operations Manager (MOM)", which fits alerting on it from your own monitoring.
  • Backup coverage after any change of backup product, because a product that does not update the DSA Signature attribute leaves the attribute unchanged.
  • The gap between your backups and your tombstone lifetime. If it is large, a backup may become too old to restore; the default interval is half the lifetime.

Risks and limits

These steps have not been run or lab-tested.

Microsoft's page describes Windows Server 2003 SP1 behaviour and states its scope as all supported versions of Windows Server, so its 60-day and 180-day figures are historical defaults and not a statement about current forests. It does not name a backup product, a command for system state backup or a way to read your tombstone lifetime. It does not say that raising the threshold is a fix, and it recommends the reverse: take system state backups of each partition on at least two computers every day.

NetLeverage includes a daily full disaster-recovery backup of each hosted server at no extra charge. Talk to an engineer.

Sources