How to backup/restore IIS7 configuration file?

Backup:

  • Login to your server by using administrative rights.
  • Open command prompt using start → run → and type cmd.
  • Navigate to below mentioned path:
  • %SYSTEMROOT%\System32\inetsrv\
  • Fire below mentioned command to save configuration backup:
  • appcmd.exe add backup "My Backup Name"

Go to inetsrv Path
 

View available Backups:

  • Login to your server by using administrative rights.
  • Open command prompt using start → run → and type cmd.
  • Navigate to below mentioned path:
  • %SYSTEMROOT%\System32\inetsrv\
  • Fire below mentioned command to view the list of available backups:
  • appcmd.exe list backup

View Available Backups
 

Restore:

  • Login to your server by using administrative rights.
  • Open command prompt using start → run → and
  • %SYSTEMROOT%\System32\inetsrv\
  • type cmd.
  • Navigate to below mentioned path:
  • Fire below mentioned command to restore the backup:
  • appcmd.exe restore backup "My Backup Name"

Go to inetsrv Path
 

Delete Backup:

  • Login to your server by using administrative rights.
  • Open command prompt using start → run → and type cmd.
  • Navigate to below mentioned path:
  • %SYSTEMROOT%\System32\inetsrv\
  • Fire below mentioned command to remove the backup:
  • appcmd.exe delete backup "My Backup Name"

Delete a Backup

Notes:
  • You can also assign any name instead of "My Backup Name".
  • This will only work for the clients who has admin access of VPS/Dedicated Server.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to deny URL sequence from IIS?

Request Filtering is a built-in security feature of IIS. Using Request Filtering feature one can...

How to Fix HTTP Error 500 (or 500.21) - Internal Server Error Handler SSINC-shtml?

Error Message HTTP Error 500 (or 500.21) - Internal Server Error Handler SSINC-shtm' handler...

How to Backup/Restore IIS7 Configuration?

IIS 7 automatically makes history snapshots of ApplicationHost.config each time a change is...

Fix :: Operation must use an updateable query." for ASP pages

Problem Statement Operation must use an updateable query." for ASP pages Cause There might be...

How to Configure FTP User Isolation in IIS 7?

Following article will assist you to configure FTP user isolation in IIS web server. In IIS...