Section 8.10. Backing Up Your IIS Configuration


8.10. Backing Up Your IIS Configuration

IIS has built-in functionality that enables you to take a snapshot of your configuration and save it to a file, which can later be restored in the event that something mucks with your production setup. The backups are time- and version-stamped, so you can create stepped snapshots to recreate your setup at any point in time. Keep in mind, though, that this backup function pertains to only the configuration of your IIS servicesit does not back up files, directories, content, images, or anything of the sort. You'll need to use Windows backup, covered in Chapter 3, for that.

To back up your configuration, or to restore a setup from a previous backup, follow these steps:

  1. Open IIS Manager, and select your server in the left pane.

  2. Right-click your server, and select Backup/Restore Configuration from the All Tasks menu. Your screen will display something similar to Figure 8-43.

  3. To back up your configuration, click the Create Backup button. You'll be prompted for a friendly name to identify the backup; enter one and click OK. You also can specify whether to require a password to restore. The backup file will be created in the \Windows\System32\inetsrv\MetaBack directory and cannot be used on another machine.

  4. To restore your configuration, in the screen depicted in Figure 8-43, click the appropriate backup to select it, and then click the Restore button.

    Figure 8-43. Backing up and restoring configurations in IIS 6



Learning Windows Server 2003
Learning Windows Server 2003
ISBN: 0596101236
EAN: 2147483647
Year: 2004
Pages: 171

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net