Home > Networking Tips > Network Engineering > Recovering domain controllers after a server disk failure
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK ENGINEERING

Recovering domain controllers after a server disk failure


Brien M. Posey
04.01.2008
Rating: -4.00- (out of 5)


Network management news, advice and technical information
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


In the first part of this series, Recovering from a server disk failure: The shortcomings of NTBCKUP, I talked about how you could recover your server after a system volume failure. In this article, I want to turn my attention to some special procedures used for domain controllers.

Normally, when you are restoring a domain controller, you will follow the procedure outlined in the previous article. The Active Directory database is backed up as a part of a system state backup, so restoring the system state restores the server's copy of the Active Directory database.

It is important to remember that each domain controller in the domain shares a replicated copy of the Active Directory database. When you restore a backup of a domain controller, Windows will use a process called backfilling to bring the domain controller's Active Directory database back up to date. Essentially, this means looking at the most recent change that was made to the newly restored domain controller's copy of the Active Directory database and then replicating all subsequent changes from another domain controller. The backfilling process happens automatically, so you don't have to do anything except wait for it to complete.

More on recovering from a server disk failure and disaster recovery
Part 1: The shortcomings of NTBCKUP

Part 2: Recovering domain controllers after a server disk failure

Disaster recovery: A guide for network professionals

The IT Guy comic: Disaster recovery

There are, however, a couple of situations in which a normal domain controller restoration is not an option. In some situations, you may need to perform a primary restore instead. You would use a primary restore if you were restoring the only domain controller on the network. You would also use a primary restore if you were going to be restoring all of the domain controllers, but you would perform a primary restore only on the first domain controller that is being restored. You would use a normal restore on all subsequent domain controllers.

Primary restores

The procedure for performing a primary restore is identical to the one used for performing a normal restore, with one exception -- you can perform a primary restore only by using the Restore Wizard. When the Restore Wizard starts, you'll have to click the "Advanced" button to access the advanced restoration options.

The Wizard's first two screens are pretty basic, but on the third screen you will see the advanced restore options. Simply select the "When restoring replicated data sets mark the restored data as the primary data for all replicas" check box. You can see this option in Figure A, but it is grayed out in the figure.

Figure A
Windows restore wizard
Select the bottom check box if you want to perform a primary restoration.

Authoritative restores

Earlier, I explained the process of backfilling that occurs after you restore a domain controller. Sometimes, you may want the restore data to take precedence over the data that would normally be replicated from another domain controller. In such situations, it is necessary to perform an authoritative restore.

Begin by performing a normal restoration, then open a Command Prompt window. Now, enter the NTDSUTIL command, followed by the Authoritative Restore command, and the Restore Database command. When prompted, click OK, and then click Yes.

Although performing an authoritative restore is simple to do, it has some fairly deep implications. Before you attempt an authoritative restore, I strongly recommend reading Microsoft's knowledgebase article, How to perform an authoritative restore to a domain controller in Windows 2000. This article explains both the implications and limitations associated with performing an authoritative restore.

A word of caution

A lot of people don't realize it, but Windows imposes a backup age limit when you are restoring a domain controller. As you probably know, objects deleted from the Active Directory are not immediately removed from the database. When an object is deleted, Windows converts it to a tombstone and then replicates the tombstone to the other domain controllers as a way of informing them that the object has been deleted.

The problem with these tombstones is that if you restore a domain controller to a state prior to the deletion of an object, and a tombstone does not get replicated to the other domain controllers, then the tombstone will exist only on the domain controller that has been restored, leaving it in an inconsistent state. As a way of protecting the Active Directory against corruption resulting from inconsistencies, Windows prevents you from restoring backups that exceed the tombstone limit. The default lifespan of a tombstone is 60 days, which means that backups older than 60 days are rendered invalid.

Conclusion

These tips really cover only the basics. If you are interested in learning more about recovering domain controllers, check out the Active Directory backup and restore section on MicrosoftTechNet.

About the author:
Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. He has served as CIO for a nationwide chain of hospitals and was once in charge of IT security for Fort Knox. As a freelance technical writer, Brien has written for Microsoft, CNET, ZDNet, TechTarget, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal website at www.brienposey.com.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Network Engineering
Limit network energy consumption with computer cooling technologies
Understanding remote scripting: Managing Windows networks using scripts, Part 9
Network mapping in Vista for Windows XP
Recovering from a server disk failure: The shortcomings of NTBCKUP
Enabling Windows Vista's Network Mapping feature on domain networks
Prevent unauthorized USB devices with software restriction policies, third-party apps
How to subnet: Subnetting calculations and shortcuts
Using Windows Vista group policy to prevent unauthorized USB device use
ISDN implementation: Part 3 -- Cisco router ISDN configuration
Troubleshoot network problems with Network Monitor

Windows Network Administration
Understanding remote scripting: Managing Windows networks using scripts, Part 9
Network mapping in Vista for Windows XP
How to set passwords on folders in Windows 2003 servers
How to configure Windows Server 2008 advanced firewall MMC snap-in
Recovering from a server disk failure: The shortcomings of NTBCKUP
Troubleshooting remote scripting using Network Monitor 3.0: Managing Windows networks using scripts -- Part 8
Remote Desktop troubleshooting
Enabling Windows Vista's Network Mapping feature on domain networks
Troubleshooting the mystery error -- Managing Windows networks using scripts, part 7
Prevent unauthorized USB devices with software restriction policies, third-party apps

Network Disaster Recovery
Cisco re-thinks Layer 8 networking with green components
Podcast: Data storage for network managers: Avoid remote office disaster
Remote office backup, archiving and disaster recovery for networking pros
After a server outage what emergency steps secure your network?
Network disaster recovery tips for business continuity
Disaster recovery: A guide for network professionals
Disaster recovery options improve with WAN optimization
General Design Considerations -- Chapter 6 of 'Network Security Architectures'
What to do when your server goes down
Remote backup for network disaster recovery
Network Disaster Recovery Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
four-way server  (SearchNetworking.com)
mail user agent  (SearchNetworking.com)
netstat  (SearchNetworking.com)
Technical Office Protocol  (SearchNetworking.com)
Telnet  (SearchNetworking.com)
two-way server  (SearchNetworking.com)
virtual network adapter  (SearchNetworking.com)
virtual network computing  (SearchNetworking.com)
virtual systems management  (SearchNetworking.com)
VxWorks  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts