Friday, 23 March 2012

Howto: Backup IIS 7.0 web server configuration

To backup your IIS 7.0 configuration on a Windows 2008 Server,
you just need to make a copy of the
\windows\system32\inetsrv\config directory (and subdirectories) and save it in a safe location.
You can also use the appcmd.exe utility to create the backup via the command line. The syntax to create a backup is:
%windir%\system32\inetsrv\appcmd.exe add backup “Backup Name”
to restore the backup, the syntax is:
%windir%\system32\inetsrv\appcmd.exe restore backup “Backup Name”
to remove a backup, the syntax is:
%windir%\system32\inetsrv\appcmd.exe delete backup “Backup Name”

No comments:

Post a Comment

How can VMware Integrated Containers be useful in real life scenario

What is VIC: VIC - vSphere Integrated Containers enables IT, teams, to seamlessly run traditional workloads and container workloads ...