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!

To back up a full IIS server certificate, you need to export the private-key and public-key information as well as remember the password that was assigned to the certificate key when it was created. You'll need this information to restore the backup in the future. To back up a certificate in IIS 5.0, follow the steps in the Microsoft article "How to Back Up an Internet Information Services 5.0 Server Certificate" (http://support.micro soft.com/support/kb/articles/q232/ 1/36.asp). To back up a server certificate in IIS 4.0, follow these steps:

  1. Open ISM.
  2. On the Microsoft Management Console (MMC) toolbar, click the Key Manager icon, which Figure 2 shows.
  3. When Key Manager opens, expand the Local Computer node, then select the WWW service. Select the key you want to back up.
  4. From the Key menu, choose Export Key, then select Backup File. You'll see the warning that Figure 3 shows. Click OK.
  5. Enter a filename and location, then click Save.

Restoring server certificates. To restore a server certificate that you previously backed up on an IIS 5.0 machine, follow the steps in the Microsoft article "How to Import a Server Certificate for Use in Internet Information Services 5.0" (http://support.microsoft.com/support/kb/articles/q232/1/37.asp). To restore a certificate in IIS 4.0, follow these steps:

  1. Open ISM.
  2. Click the Key Manager icon.
  3. Expand the Local Computer tree, then select the WWW service.
  4. From the Key menu, choose Import Key, then select Backup File. (Note that although an option exists for restoring from a keyset, this option works only if this machine is the one on which the keyset was originally created and you haven't removed the certificate from the machine. The keyset option also assumes that you still have the original certificate request file and the certificate that the CA issued.)
  5. In the Open dialog box, navigate to the backed-up key file, then click Open.
  6. Enter the proper password. Note that although the certificate will appear in the list of certificates for the service, it's not yet active.
  7. From the Computers menu, choose Commit Changes Now.

Diligence Is Key
This month, I've discussed different methods for backing up your Web servers, each of which has advantages and disadvantages. You can find another useful resource for backing up your IIS 5.0 machines at http://www .microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/ iis/maintain/featusability/c02iis.asp (click the Configuring IIS Backup and Recovery link). Of course, you can take other steps to protect your server. For example, I run two different hard disks in my Web server and set them up as an NT mirror set. That way, I always have a redundant copy of my Web server.

The most important steps you can take to ensure the safety of your Web server are to properly plan your strategy, design your server's hardware and maintenance according to that server's needs, and diligently make backups and keep good records of changes and updates. Next month, I'll get back to debugging IIS. I'll show you how to address high CPU utilization problems.

End of Article

   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