IIS7 – Backup Restore UI Module

You might see that there is no UI way to take backup, restore backup. Only available way (till Windows 2008 Server RC0) is by the AppCmd tool. Below are the commands to do that:

appcmd add backup "backupname"

appcmd restore backup "backupname"

For those who wanted to have an UI way for this, here is my new IIS7 UI Module. Below is how it looks:


In the available Backups drop combobox, you will find all the available backups. Select the one which you want to restore and click "Restore" button. It would look like below:


Here is the link for the DLL:


To add this module in your IIS 7 manager follow the below steps:

  1. Download the IIS7BackupRestore.dll.
  2. From inetsrv folder Drag and Drop the IIS7BackupRestore.dll into the Global Assembly Cache (C:\Windows\assembly) or use GacUtil -i IIS7BackupRestore.dll to install it to the GAC.
  3. Under File Menu, browse for the file %WinDir%\System32\InetSrv\config\Administration.config.
  4. Search for the <moduleProviders> section and add the following

    <add name="IIS7BackupRestoreUI" type="IIS7BackupRestoreUI.MyModuleProvider, IIS7BackupRestoreUI, Version=, Culture=neutral, PublicKeyToken=db9daa3d2ea5f6fd" />

  5. Search for the <modules> section and add the following

    <add name="IIS7BackupRestoreUI" />

  6. Open Inetmgr and You will see the module listed in your IIS 7 Manager if you would’ve followed the above steps properly.

Let me know if this helps you!

UPDATE : This now available in IIS.net/downloads. Here is the link.

Comments (5)
  1. Bill Staples says:

    awesome!  I’ve been wanting this feature in the product for a while. 🙂  You should submit it to http://iis.net/downloads!

  2. James says:

    Backup/restore UI was present in (at least several) previous versions of IIS. Why on earth didn’t they add this to IIS7?

  3. James – With IIS7, all the configurations are not just in applicationhost.config – they can be well present on any of the application’s web.config, et al. So, when you say it is backup/restore – it should be a complete configuration backup, and added to the complexity of copying settings from individual web.config – it would be really complex!

    Even my module will just take backup of only the main config files present in inetsrv/config folder, not individual web.config.

  4. iis says:

    NOTE : Before you even read about this module, I want to mention that I do not work for IIS product team

Comments are closed.

Skip to main content