We have 19 websites, many of which have many โvirtualโ directories on IIS 6. I am trying to transfer all this to IIS 7 on another server.
Following the instructions of http://learn.iis.net/page.aspx/427/migrate-a-web-site-from-iis-60-to-iis-70/ , I tried to run the following command:
msdeploy -verb:sync -source:metakey=lm/w3svc -dest:package=D:\Temp\Sites.zip > D:\temp\WebDeployPackage.log
It worked until I got the "Out of disk space" error. Drive D, which you will notice, is the target location for the package, and there is a lot of space in the log (all resources for websites are about 5 GB, disk is 200+). Although C drive has a limited size (6 GB), so this can be a problem.
In any case, I believe that it was best to try to migrate the settings / configurations rather than the actual resources. We can easily deploy resources to a new server using our NAnt build scripts, so this is not a problem. However, if all the correct configurations have moved, it would not be easy to do manually.
So, is there a way to export / package only IIS 6 server configuration / settings using msdeploy (or any other tool?)
iis-7 iis-6 msdeploy
Matt
source share