Home > Win IT All-in-One Guides > Windows backup and recovery > Chapter 3: Exchange Server > Restore Procedures > Is an authoritative restore appropriate?
All-in-One Guides: Windows backup and recovery:
EMAIL THIS
 START   CHAPTER 1: WINDOWS OS   CHAPTER 2: SQL SERVER   CHAPTER 3: EXCHANGE SERVER   CHAPTER 4: ACTIVE DIRECTORY   
Chapter 3: Exchange Server


Restore Procedures
<< PREVIOUS | NEXT >>
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Is an authoritative restore appropriate?


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


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


Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize.


After a restore operation completes, Exchange looks for transaction logs that might still exist on the server. If transaction logs exist, they are played back in an effort to make the restored database more current. Then, the update sequence numbers (USNs) of objects within the database are compared to the USNs on other servers. If other servers have more current USNs than the restored database, the database is updated to reflect changes indicated by the most current USNs. The end result is that the restored database is nearly identical to how it was at the time of the crash.

The technology behind the recovery procedure is amazing and I commend Microsoft for doing a great job developing it. Even so, there are situations in which Exchange's recovery method can work against you.

The recovery procedure I just described assumes that the server crashed. Sometimes that just isn't the case though. For example, if you have an inexperienced administrator who accidentally deletes a thousand mailboxes, you will probably find yourself restoring a backup -- but it won't be because the server crashed.

Imagine that you created a backup last night. This morning your inexperienced administrator accidentally deleted a thousand mailboxes. You can restore last night's backup, but there's a problem: The deletion action has a higher USN than the USNs on the backup tape. Therefore, when you restore the backup, yes, the mailboxes will be restored -- but they will soon be deleted -- because that's what Exchange thinks it needs to do in order to make the backup current.

To get around this problem, Microsoft has a tool called AUTHREST.EXE. This tool allows you to perform an authoritative restore of an Exchange database. It works by modifying the USNs on the restored database to make them higher than the highest USNs on any of your other Exchange servers. That way, the backfilling process won't overwrite anything on the server, and you can restore those thousand mailboxes without fearing that they'll disappear soon after.

Obviously, the AUTHREST.EXE tool is a handy tool to have around. But there are caveats. AUTHREST.EXE updates all of the USNs on a server. This means that even if intentional changes have been made since the time of the last backup, those changes will be undone by AUTHREST.EXE.

So how to you know when you should and should not use AUTHREST.EXE? In the example situation I described, in which a thousand accounts were deleted, I would use the AUTHREST.EXE tool without hesitation -- especially if I had a very recent backup. However, if your most recent backup is several days old, or if you only have a few mailboxes to recover, you are usually a lot better off using a different recovery method.

In those situations, I recommend using Exchange 2003's Recovery Storage Group feature. With it, you can restore your backup to a recovery storage group rather than overwriting the current database. You can then move deleted mailboxes from the recovery storage group to the information store. There's a little bit more to the procedure than that, but that's the general idea of how it works. If you need more specific instructions, check out my recent article on recovery storage groups.

About the author: Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. Brien 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 he has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at http://www.brienposey.com.


Do you have comments on this tip? Let us know.

Rate this Tip
To rate tips, you must be a member of SearchExchange.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   


<< PREVIOUS | NEXT >>
VIEW ALL IN THIS CATEGORY


RELATED CONTENT
Exchange Server Administration Tips
Remove Exchange 2003 objects from AD to install Exchange 2010
Don'ts for optimal Exchange 2007 mailbox server efficiency
Is your Exchange 2007 hub transport server healthy?
Avoid Outlook 2007 performance issues during repairs
Developing an Exchange 2007 server role DR plan
How DSAccess service improves Exchange Server 2007 reliability
An introduction to the Exchange Remote Connectivity Analyzer tool
Monitor Exchange 2007 with disk- and RPC-related counters
DPM 2007 replica inconsistencies in Exchange databases
Track Exchange 2007 mailbox server health using database counters

Microsoft Exchange Server Backup and Disaster Recovery
Backing up public folders on multiple Exchange servers
Exchange Server 2010 bows with improved recovery
Restore Exchange storage groups with DPM 2007
How a hosted Exchange service can help you
Developing an Exchange 2007 server role DR plan
DPM 2007 replica inconsistencies in Exchange databases
Fixing DPM 2007 inconsistent replica errors in Exchange Server
New high availability features in Exchange Server 2010
Restore contacts from an Exchange public folder
Exchange Server 2007 SP2 reinstates built-in backup capabilities
Microsoft Exchange Server Backup and Disaster Recovery Research

Microsoft Exchange Server Database Management
Should you remove .STM files from Exchange Server 2003?
New high availability features in Exchange Server 2010
Testing a passive database for corruption in Exchange Server 2007
Database changes that enhance Exchange Server 2007 fault tolerance
Microsoft Exchange Server 2003 database recovery methods
Creating disk space for an Exchange Server 2003 priv1.edb database
Why boot an Exchange server from a storage area network (SAN)?
DetachPipe: Outlook add-in tool saves and restores email attachments
How to calculate white space in an Exchange streaming (.STM) file
An affordable Exchange Server database backup software option for SMBs

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.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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