CODEDIGEST
Home Articles CodeDigest Tutorials FAQs
Skip Navigation LinksHome » Article » IIS Article » IIS7 - Backup Restore UI Module   You are not logged in.
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: (Login)
Be first to rate
this article.
No of Comments: 5
Print this article.
Category: IIS

Subscribe to our feed!

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 CodeDigest.Com:
    Article Feedback
    Title  
    Submitted By  
    Comment  
    Enter the verification number
     
    Comments
    I8VppW <a href="http://bvtkvponiitj.com/">bvtkvponiitj</a>
    I8VppW <a href="http://bvtkvponiitj.com/">bvtkvponiitj</a>
    H5NDOP <a href="http://xgzkwxjlzpbx.com/">xgzkwxjlzpbx</a>
    H5NDOP <a href="http://xgzkwxjlzpbx.com/">xgzkwxjlzpbx</a>
    Heck yeah bay-bee keep them cmonig!
    Heck yeah bay-bee keep them cmonig!
    ?????? ???????HTML??:<a> <abbr> <acronym> <b> <blockquote> <cite> <code> <del> <em> <
    ?????? ???????HTML??:<a> <abbr> <acronym> <b> <blockquote> <cite> <code> <del> <em> <i> <q> <strike> <strong> var RecaptchaOptions = { theme : 'blackglass', lang : 'en' , tabindex : 5 }; #submit {display:none;}
    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.