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 


January 2002

Backing Up IIS: A Primer

RSS
Subscribe to Windows Web Solutions | See More Backup and Recovery Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Recover from system failures quickly and efficiently

You can find many articles about managing and configuring IIS and its metabase. However, a lot of confusion and misconceptions still exist about one of the most important aspects of managing IIS—generating a good backup. This month, I introduce you to the fundamentals of properly backing up and restoring IIS, including pitfalls, gotchas, and some tricks to remember. I show you how to back up

  • the entire system
  • IIS settings (i.e., the metabase)
  • data
  • security information

Backing Up the Entire System
To back up your IIS machine, you can use Windows NT backup procedures or a third-party backup program to generate a full-system backup. This type of backup will ensure that you have all the data necessary to rebuild a system from a catastrophic failure. The Microsoft Windows 2000 Server Operations Guide, which is part of the Microsoft Windows 2000 Server Resource Kit, provides excellent information about backing up your Win2K system. The Backup chapter of the Windows 2000 Resource Kits Web site (http://www.microsoft.com/windows 2000/techinfo/reskit/en-us/core/fndf_ bkp_qale.asp) also provides useful information. For information about backing up NT 4.0, read Chapter 4 of the Microsoft Windows NT Server Resource Guide, which is part of the Microsoft Windows NT Server 4.0 Resource Kit.

A full-system backup takes more time and resources than simply backing up the metabase, but it ensures that you have all the information you need. It's also the best way to guarantee that you can recover from a fatal crash. Of all the backup processes I talk about in this article, the full-system backup does the most to safeguard your Web server. Before you perform a full-system backup, be sure to stop the Web services so that all related files are released and will be successfully backed up.

Restoring the Entire System
If your Web server suffers a fatal crash or you need to rebuild a system, you can easily use the full backup you made to do so. However, here's one caveat to remember when restoring a Win2K system. Win2K restores only to the currently active registry, which means that the drive and system root must be the same as when you made the backup. In other words, you can't perform a parallel installation and be running that instance of Windows when you restore the system. If you made the backup with C:\winnt as your system root, you need to rebuild the crashed system to the point at which you can boot into C:\winnt before you perform the restore. This consideration isn't applicable to NT 4.0 because the registry is just a file in that OS. But I still recommend that you run restore only from the directory to which you were planning to restore.

Backing Up the Metabase
After you have a full-system backup in place, you can make periodic backups of just the IIS metabase. (For more information about the IIS metabase, see William Sheldon, "Getting to Know the Metabase," January 2001, InstantDoc ID 16179; "Getting to Edit the Metabase," February 2001, InstantDoc ID 16462; and "Getting to Script the Metabase," April 2001, InstantDoc ID 20058.) Backing up the metabase in IIS 5.0 is fairly easy, and you should back it up any time you make a change to your IIS settings.

Backing up the IIS 5.0 metabase. To back up the metabase in IIS 5.0, open Internet Services Manager (ISM). Right-click your computer name, then select Backup/Restore Configuration. In the Configuration Backup/Restore dialog box, which Figure 1 shows, click Create backup, then type a name for the backup file. (Note that the backup software prohibits any special characters in the name.) Click OK. You've now backed up the metabase for this machine. For more information about backing up the IIS 5.0 metabase, see the Microsoft article "HOW TO: Create a Metabase Backup By Using IIS 5" (http://support.microsoft.com/support/ kb/articles/q300/6/72.asp). For a Windows Script Host (WSH) script that you can use to back up the IIS 5.0 metabase as a scheduled task, see the Microsoft article "HOW TO: Schedule Metabase Backups Using WSH" (http://support.microsoft.com/support/kb/articles/q302/8/88.asp).

Backing up the IIS 4.0 metabase. In IIS 4.0, the metabase-backup process is the same as in IIS 5.0, but it's not as reliable and you might not get a good copy of the backup file. For backing up the metabase on an IIS 4.0 machine, I recommend that you use a full-system backup. If such a backup isn't an option, you might be able to make a manual copy of the metabase. To do so, stop all Web services manually on your production IIS machine by typing

net stop iisadmin /y

at a command prompt. Then, copy the metabase.bin file and rename it metabase.bak. For security purposes, you might want to store metabase .bak on another machine or medium. However, you can keep a local copy, too.

   Previous  [1]  2  3  Next 


Reader Comments
thanks

Anonymous User November 11, 2004 (Article Rating: )


Not really useful for those of us that need to upgrade the backup IIS config's before formatting/upgrading the OS.

Anonymous User January 29, 2005


You must log on before posting a comment.

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




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

More fun TechEd 2005 Resources

Kevin points out some more TechEd resources ...

What service packs and fixes are available?

...


Storage Whitepapers Combining Deduplication and VMware Disaster Recovery: Cascading Savings Improves Cost Effectiveness

Virtualizing Microsoft Exchange Server 2007

StoreVault SnapManagers for Microsoft Exchange and SQL Server

Related Events Check out our list of Free Email Newsletters!

Storage eBooks A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Keeping Your Business Safe from Attack: Encryption and Certificate Services

Related Storage 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.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Microsoft Exchange & Windows Connections event returns to Las Vegas Nov 10 - 13
Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. Co-located with Microsoft ASP.NET, SQL Server, and SharePoint Connections with over 250 in-depth sessions.

Free Online Event! Virtualization:Get the Facts!
Register now and attend this free, live in-depth online conference on November 13 and 20, 2008, produced by Windows IT Pro. All registrants are eligible to receive a complimentary one-year digital subscription to Windows IT Pro (a $49.95 value)!

Check Out Hyper-V Video on ITTV
Watch Karen Forster's interview on Hyper-V's performance on ITTV.net.

Ease Your Scripting Pains with the Flexibility of PowerShell!
Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!

Latest Advancements in SSL Technology
There are a variety of different kinds of SSL to explore to ensure customer data is kept confidential and secure. In this paper, we will discuss some of these SSL advances to help you decide which would be best for your organization.

PASS Community Summit 2008 in Seattle on Nov 18-21
The don’t-miss event for Microsoft SQL Server Professionals. Register now and you’ll enjoy top-notch Microsoft and Community speakers and more.



Solving PST Management Problems
In this white paper, read about the top PST issues and how to administer local/network PST Files.

Get Protected -- Data Protection Manager 2007
Protect your virtualized environment with Data Protection Manager

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Maximize Your SharePoint Investment: Get Your Data Moving
Watch this web seminar now to learn how to maximize your SharePoint investment! Join us as we take a look at the complex business of securing, accessing and managing vast amounts of information in a global network and various ways to get your data moving.
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