Migrate IIS 5.0 / 6.0 to another server were very simple prior to windows 2008. Steps was just add/remove widows component to add IIS to destination server and from the source server’s IIS manger selecting Action –All Tasks– Backup/Restore Configuration to backup the existing configuration and copy backup files from source server folder ( \systemroot\System32\Inetsrv\Metaback) to the same folder at the destination server. Restart destination server the IIS service and done.
Following steps are based on webdeploy.exe tool to migrate from IIS6.0 to IIS7.5.
You can download and install the latest web deployment tool from following link:
This guide requires the following prerequisites:
- .NET Framework 2.0 SP1 or greater
- Web Deployment Tool 1.1
Now based on complexity of one’s web-sever firms; syntax could fairly complex for newbies specially dependency issues. Please backup your IIS server before proceed with following steps. There are many way this web deployment tool can be used (I tried in different forest). I find this tool is very sensitive to encrypted sites, dependency issues and also unable to generate deployment zip file for large web contents. Once I removed application pool related dependency from my existing (source) sites and following steps worked.
Source server (Windows 2003, running existing sites IIS 6.0)
C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:sync -source:metakey=lm/w3svc/1 -dest:package=c:\Site1.zip, -disableLink:Content > WebDeployPackage.log
Destination server (Windows 2008 R2, installed IIS 7.5 and runs only default web site):
C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:sync -source:package
=D:\deployment\win2k3\Site1.zip -dest:metakey=lm/w3svc/1 > WebDeploySync.log
For more details, following links are very informative: