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!

Restoring the Metabase
To restore the IIS 5.0 metabase copy that you made, open ISM, right-click your IIS machine, then select Backup/ Restore Configuration. In the Configuration Backup/Restore dialog box, highlight the configuration you want to restore, then choose Restore to stop IIS, restore the configuration, and restart IIS.

When you use the built-in metabase backup-and-restore functionality, be aware that you can't use the backup you created to restore a newly built machine or to migrate the metabase to another machine. Therefore, this type of backup isn't suitable for use in disaster recovery or replication. Its best use is to protect against administrative errors and for restoration during upgrades.

If you used the full-system backup process to back up your IIS metabase and a change corrupts the metabase .bin file on your production Web server, you can simply shut down the server and copy metabase.bak back into metabase.bin. For more information about restoring the IIS metabase from a full-system backup, see the Microsoft article "How to Manually Restore the Metabase When No Proper Backup Exists or the MMC Won't Start" (http://support.microsoft.com/support/kb/articles/q234/4/29.asp).

Backing Up the Data
A data backup can be as simple as copying to another location the files in the directories to which your Web site configuration points. For example, if you have one Web site on your machine and its root points to D:\inetpub\wwwroot, you can copy \wwwroot and all its subdirectories to another drive or machine.

Be aware, however, that you also need to copy any other directories that might contain data. For example, the FTP root might be under D:\inetpub\ftproot, and you might have a virtual directory in IIS that points to E:\special_stuff. You'd need to make copies of these directories as well.

The benefit of generating data copies is that these copies let you access your data either for removal to another machine or for archival purposes. Usually, data backup is a good practice with Web servers that don't host many sites. However, if you have a lot of sites with data in many different locations, generating a data backup might not be easy.

Restoring data that you've copied to another location is as simple as copying the data to whatever system you want to use and configuring IIS to point to the restored data. The caveat is that you can't copy configuration information. Therefore, you need to set IIS up to point to the data, set up any ODBC connections you might have used, and possibly rebuild your permissions on parts of the data that need to be restricted.

If you're using Microsoft FrontPage Server Extensions, you can copy the proper data directories, but you'll still need to run the FrontPage Manager to have the program clean itself up and activate the server extensions. For more information about configuring server extensions to work with IIS 5.0, see the Microsoft article "HOW TO: Configure IIS with FrontPage Server Extensions" (http://support.microsoft.com/support/kb/articles/q298/1/58.asp).

Backing Up Security Information
Security information consists of IIS server certificates, client-certificate mapping information, IIS user accounts, resource permissions, IIS configuration settings, COM or Microsoft Transaction Server (MTS) package identity accounts, and Distributed COM (DCOM) configuration information. This information resides in many different locations and isn't easy to back up or restore without performing a complete system backup. For this reason, I recommend that you use complete system backups to protect your IIS servers and to prepare for disaster recovery. However, you should still keep records of how you've configured your servers so that if you want to build a new machine or something happens to your backup, you can still reconfigure your system manually. Make notes about the permissions you've set and the accounts you're using for IIS and COM identities. (Don't include any passwords in these notes. You don't want that information to be gaccessible to anyone who might get access to your log book.)

Backing up server certificates. If you have server certificates on your Web server, you can back them up manually. Note that backing up server certificates results in a private-key backup that's easy to decrypt. (The backup has a base64 encoding, which many shareware programs can easily crack.) Therefore, you must ensure that your backup storage is secure. For example, if you back up your certificates to a disk, be sure to lock the disk in a safe or another secure location. One common misconception about backing up server certificates is that you can use the certificate-request key and the certificate you received from your Certificate Authority (CA) as your backup. Unfortunately, this keyset (as it's commonly referred to) isn't complete. When you create a certificate-request key, the private portion of the key is generated and stored in the secure portion of the Windows registry. This key portion is never placed in the request file or sent to the CA. Therefore, if you use only the keyset as your backup, you're missing the private key.

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


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 Virtualization Management

Virtualization 101

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.


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