Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 2001

The AD Backup Bug: Microsoft Comes Clean

RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

At a recent conference, I spoke to a senior engineer for Aelita Software, an Independent Software Vendor (ISV) that produces Windows 2000 and Windows NT administration and migration tools, about a major bug related to Active Directory (AD) backups. During Aelita's development of ERDisk for Active Directory, the company's new AD backup product, engineers discovered that roughly half of all their AD backups resulted in corrupt backup copies. When restored, these backups cause the directory services on the restored domain controller (DC) to be unstartable. Upon further investigation, engineers discovered that the problem wasn't unique to Aelita's software but appeared to be a bug in Win2K's native API for performing AD backups and restores. Thus, this problem affects all software that uses the native API, including Win2K's built-in NT Backup utility and most third-party backup software (e.g., Computer Associates'—CA's—ARCserve, VERITAS Software's VERITAS Backup Exec).

Aelita engineers believe that the bug hasn't received attention because System State restores that include AD are fairly uncommon. Aelita reports that the problem is simple but unpredictable, and thus is difficult to reproduce during testing.

You might not discover this bug until you attempt to use a backup to restore AD on a Win2K DC. At that point, you're too late—when you attempt to restore a backup, the bug prevents the DC from starting and causes the system to display a Directory Service cannot start error message. If you use Ntdsutil with the semantic database analysis option to run the database semantic checker, you receive error 550: Database is inconsistent. With NT Backup, the restores become corrupt even when the Verify option is turned on.

In a conference call with Aelita President and CEO Ratmir Timashev, I confirmed that Aelita believes this problem is a bug in Win2K's base release and Win2K Service Pack 1(SP1). Aelita discovered this bug just before Microsoft released Win2K SP2. Timashev mentioned that during the month before SP2's release, Aelita worked with Microsoft to identify the bug, and Microsoft discussed its intention to include a fix in SP2, which it did.

At the time I heard about this problem, Microsoft hadn't documented it. Although empirical data proves that SP2 resolves the problem (neither Aelita nor I have been able to reproduce the bug under SP2), Microsoft doesn't even mention the bug in the SP2 documentation.

A week after I reported the bug in WinInfo Daily UPDATE, "The AD Backup Bug: Monster in the Closet?" (http://www.wininformant.com/articles/index.cfm?articleid=21351), Microsoft officially acknowledged the problem in the article "Windows 2000 Domain Controllers Restored with System State Backups Made Prior to SP2 May Not Boot" (http://support.microsoft.com/support/kb/articles/q295/9/32.asp). The article describes the bug's symptoms and acknowledges that SP2 includes a fix. The article also sheds some light on why the problem occurs.

To protect customers from this bug, backup software vendors must enable their products to verify an AD backup before the backup is restored. Aelita has already implemented this functionality in ERDisk for Active Directory. You can protect yourself by updating your Win2K DCs with SP2. If you're not planning to upgrade to SP2 immediately, consider installing the bug's hotfix, which is available through Microsoft.

End of Article



Reader Comments
<br><br>
In the Microsoft article "Windows 2000 Domain Controllers Restored with System State Backups Made Prior to SP2 May Not Boot" (http://support
.microsoft.com/support/kb/articles/
q295/9/32.asp) that Sean Daily mentions, the author fails to explain what to do if you experience the bug. Is AD totally hosed, or is there some way to get the machine running again (e.g., demote it to a member server, then delete and reinstall AD)?<br>

In my client's situation, Ntbackup made backups of AD to the System partition under C:\winnt\ntds each night. After 5 months, the backups had filled the 2GB partition. Attempts to reboot the server for other reasons failed (of course) with only 14MB of disk space left. I booted into AD Restore mode and deleted all the backups except the most recent log file and rebooted, only to be presented with an error. I don't have a clue about what to do.<br>

Chris Kuebler<br>

Your client's situation is different from the AD backup bug I reported. That problem occurs in specific circumstances under Win2K Service Pack 1 (SP1) when multiple backups occur simultaneously on the network. I think your answer will lie in performing AD-recovery steps. To that end, check out resources such as AD and Win2K disaster-recovery articles on the Windows & .NET Magazine Web site (http://www
.winnetmag.com/magazine) or NetPro's "The Definitive Guide to Active Directory Troubleshooting" (http://
www.netpro.com/ebook).<br>

Sean Daily

Chris Kuebler January 31, 2002


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...


Active Directory (AD) Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

Managing Unix/Linux with Microsoft System Center Operations Manager 2007 Cross Platform Extensions Beta

Addressing the Insider Threat with NetIQ Security and Administration Solutions

Related Events Concrete Ways to Make Sure Your SharePoint Deployment Doesn't Blow Up

Virtualization Management

Check out our list of Free Email Newsletters!

Storage eBooks A Guide to Windows Certification and Public Keys

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing