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 set periodic recycling for application pool in IIS 7?

Following are the steps to set periodic recycling for the application pool in IIS 7: Login to...

How to configure IIS to access website using IP address?

IIS (Internet Information Services) allows you to access your website via an IP address. To...

How to create a certificate signing request [CSR] from IIS 7.5 in your VPS?

Follow the below mentioned steps to create Certificate signing request from IIS 7.5 in your VPS:...

FIX :: .inc include files not loading in ASP .NET website

Sometimes, your website doesn't load .inc files like footer.inc of your ASP .net website.The .inc...

How to Configure Passive Port Range for the FTP Service in IIS?

Following article will assist you to configure passive range for FTP service in IIS web server....