CODEDIGEST
Home » Articles
Search
 

Technologies
 

CodeDigest Navigation
 

Technology News
No News Feeds available at this time.
 

Community News
No News Feeds available at this time.
 
IIS7 - Backup Restore UI Module

By Rakki Muthukumar
Posted On Feb 20,2008
Article Rating:
Be first to rate
this article.
No of Comments: 1
Category: IIS
Print this article.

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:

image

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:

image



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=1.0.0.0, Culture=neutral, PublicKeyToken=db9daa3d2ea5f6fd" />

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

<add name="IIS7BackupRestoreUI" />

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

 

 

Similar Articles
You can contribute to CodeDiget.Com:
Donate to CodeDigest.com
Article Feedback
Comments
IIS7 BACKUP
Below is the error I get when trying to run a restore.

Stopping the W3SVC Service..
Stopped the W3SVC Service..
Stopping the IISADMIN Service..
Stopped the IISADMIN Service..
Copying Files..
Exception Occurred while copying the schema files. Mostly because only the trusted installer has permissions on the schema folder. Failed with Exception : Could not find a part of the path 'C:\Windows\system32\inetsrv\backup\FirstBackup\schema'.
Files Copied..
Starting the IISADMIN Service..
Started the IISADMIN Service..
Starting the W3SVC Service..
Started the W3SVC Service..


My assumption is that this is a security error; but when I try to chage so that I have access, it says access denied.