Create a Backup with appcmd

  • Author: Walter Oliver
  • Published on December 01, 2007 by walterov
  • Updated on May 28, 2009 by walterov
  • Tags: appcmd

After you install IIS 7.0, you can backup your configuration by using the built-in command-line tool, AppCmd.exe. You can run AppCmd.exe to create a backup of your Web server before you have changed any configuration.

To create a backup using AppCmd.exe

1.       Open a command prompt as administrator and change to the %windir%\system32\inetsrv\ directory.

2.       At the command prompt, type appcmd add backup "FirstBackup" and then press Enter.

This creates a backup with the name "FirstBackup". At a later date, if you need to restore the backup, use appcmd restore backup "FirstBackup". For more information about AppCmd.exe, see http://www.iis.net/default.aspx?tabid=2&subtabid=25&i=954

Related Content

Submit a Comment

You must Log In to comment.

Microsoft Communities