Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

Migrate IIS6 - IIS8 and change content path from c:\inetpub\wwroot

$
0
0

I’m currently trying to migrate an iis6 (server 2003) websites to iis8 (sever 2012R2).

All the content is currently residing on: C:\Inetpub\wwwroot. There are over a hundred web applications under the “Default Web Site”

On the IIS6 server I’m using web deploy 2.1 and on the ii8 server I’m using web deploy 3.6.

During the sync process in STEP 2 below, I would like to move the content from the C:\inetpub\wwwroot to d:\inetpub\wwwroot. Please help with the correct switches and statements to use to accomplish this.

I need a solution that has been tried and trued and is not just theory based.

STEP 1:

msdeploy -verb:sync -source:webserver60,computername=MyServerName -enableLink:AppPoolExtension -dest:package=c:\migration\ migration.zip,encryptPassword=xyz

On the destination I then do the reverse, but need to know what to use to change the content root path:

STEP 2:

msdeploy -verb:sync -source:package=p:\migration\migration.zip,encryptPassword=xyz -enableLink:AppPoolExtension -dest:auto,computername=MyNewServer


Viewing all articles
Browse latest Browse all 663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>