Bash
asked on
Migrate iis6 sites to iis7.5 - different directory on target
I'm migrating 3 sites from Server 2003 iis6 to 2008 r2 iis7.5 using MS deploy 3.5 via the packaging method.
The sites on the source server are located on the E;: yet the destination server only has a C:
Will using the below command work? I have done a whatif and can see the following lines which to me indicates there maybe issues as E: is referenced or is that reference purely to the location of the site on the source?:
If my commands won't work, what do I need to do to make the sites go to C:\inetpub\wwwroot on the destination server?
Package creation: C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:metakey
=lm/w3svc/[SITEID] -dest:package=e:\temp\[SIT EID].zip > e:\temp\WebDeplo
yPackage.log
Package Import: C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:package=c:\temp\[S ITEID].zip -dest:metakey=lm/w3svc/[SI TEID] > c:\temp\WebDeploySync.log
Sample entries from log file:
Info: Adding MSDeploy.metaKey (MSDeploy.metaKey).
Info: Adding metaKey (/lm/w3svc/[SITEID]).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/Server Comment).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/Server AutoStart) .
Info: Adding child metaKey (/lm/w3svc/[SITEID]/LogPlu ginClsid).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/Server Bindings).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/filter s).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root/P ath).
Info: Adding directory (E:\Wiki).
Info: Adding file (E:\Wiki\AccessDenied.aspx ).
Info: Adding file (E:\Wiki\Web.config).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root/a spnet_clie nt/DirBrow seFlags).
Total changes: 1383 (1383 added, 0 deleted, 0 updated, 0 parameters changed, 15380183 bytes copied)
I am also able to use the remote sync capability of ms deploy terefore pulling the data from the source server (which I think I prefer) which gives the below, again my query is regarding the E: reference:
nfo: Using ID '471e8d69-8279-4150-8117-d 212a22f3a2 6' for connections to the remote server.
Info: Adding MSDeploy.metaKey (MSDeploy.metaKey).
Info: Adding metaKey (/lm/w3svc/[SITEID]).
Info: Adding child metaKey (/lm/w3svc/[SITEID[/Server Comment).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root/P ath).
Info: Adding directory (E:\Wiki).
Total changes: 1400 (1400 added, 0 deleted, 0 updated, 0 parameters changed, 15380183 bytes copied)
The sites on the source server are located on the E;: yet the destination server only has a C:
Will using the below command work? I have done a whatif and can see the following lines which to me indicates there maybe issues as E: is referenced or is that reference purely to the location of the site on the source?:
If my commands won't work, what do I need to do to make the sites go to C:\inetpub\wwwroot on the destination server?
Package creation: C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:metakey
=lm/w3svc/[SITEID] -dest:package=e:\temp\[SIT
yPackage.log
Package Import: C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:package=c:\temp\[S
Sample entries from log file:
Info: Adding MSDeploy.metaKey (MSDeploy.metaKey).
Info: Adding metaKey (/lm/w3svc/[SITEID]).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/Server
Info: Adding child metaKey (/lm/w3svc/[SITEID]/Server
Info: Adding child metaKey (/lm/w3svc/[SITEID]/LogPlu
Info: Adding child metaKey (/lm/w3svc/[SITEID]/Server
Info: Adding child metaKey (/lm/w3svc/[SITEID]/filter
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root/P
Info: Adding directory (E:\Wiki).
Info: Adding file (E:\Wiki\AccessDenied.aspx
Info: Adding file (E:\Wiki\Web.config).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root/a
Total changes: 1383 (1383 added, 0 deleted, 0 updated, 0 parameters changed, 15380183 bytes copied)
I am also able to use the remote sync capability of ms deploy terefore pulling the data from the source server (which I think I prefer) which gives the below, again my query is regarding the E: reference:
nfo: Using ID '471e8d69-8279-4150-8117-d
Info: Adding MSDeploy.metaKey (MSDeploy.metaKey).
Info: Adding metaKey (/lm/w3svc/[SITEID]).
Info: Adding child metaKey (/lm/w3svc/[SITEID[/Server
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root/P
Info: Adding directory (E:\Wiki).
Total changes: 1400 (1400 added, 0 deleted, 0 updated, 0 parameters changed, 15380183 bytes copied)
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.