I have some basic questions of understanding regarding Web Deployment Tool (MS Deploy).
I would like migrate my current Windows Server 2003 IIS6 Webserver (the whole Webserver incl. app pools etc.) to a new webserver with Windows Web Server 2008 R2 with IIS7 and a different IP address. I would like migrate without data / file
content in first time; next step is maybe with the whole content (but I read that ZIP-Files greater than 4GB doesn’t work with Web Deployment Tool (MS Deploy)).
I wouldn’t migrate via Web Deployment Agent Service.
My current approach is: (I checked dependency as well)
Regards
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
Hello Martin,
my question are written above. I tried to understand MS Deplory correctly. Therefore, I have some basic questions.
I have no errors but a few question?
Could you help me to answer my questions?
Many thanks,
Meverick
MNeverick20
8 Posts
IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 20, 2012 12:38 PM|LINK
Hello everybody,
I have some basic questions of understanding regarding Web Deployment Tool (MS Deploy).
I would like migrate my current Windows Server 2003 IIS6 Webserver (the whole Webserver incl. app pools etc.) to a new webserver with Windows Web Server 2008 R2 with IIS7 and a different IP address. I would like migrate without data / file content in first time; next step is maybe with the whole content (but I read that ZIP-Files greater than 4GB doesn’t work with Web Deployment Tool (MS Deploy)).
I wouldn’t migrate via Web Deployment Agent Service.
My current approach is:
(I checked dependency as well)
Source-Server:
msdeploy -verb:sync -source:webserver60,includeAcls=true -replace:objectName=metaProperty,scopeAttributeName=name,scopeAttributeValue="ServerBindings",match=xx.xx.xxx.xx,replace=xxx.xxx.xxx.xxx -dest:package=c:\test\BLABLA.zip,encryptPassword=XXXXXX -verbose -debug -enableLink:appPool -disableLink:ContentExtension > c:\test\WebDeployPackage.log
Destination Server:
msdeploy -verb:migrate -source:package=c:\test\ BLABLA.zip -dest:metakey=lm/w3svc/1 -verbose -debug > c:\test\WebDeploySync.log
Question:
Please see above:
Should I use
msdeploy -verb:sync
or
msdeploy -verb:migrate
instead? I am unsure which syntax is correct.
%windir%\system32\inetsrv\appcmd add backup “PreWebDeploy”
Is this the correct syntax for restore the backup?:
%windir%\system32\inetsrv\appcmd restore backup "PreWebDeploy"
Thank you so much for any help and every reply!
Best wishes, Meverick
iis6 msdeploy migrate or sync Migration IIS 6 to IIS 7
HCamper
8048 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 08:20 AM|LINK
Hello,
I hope these http://learn.iis.net/page.aspx/1073/introduction-to-web-deploy/
http://forums.iis.net/t/1159017.aspx IIS Forums Web Deploy
Web Deployment http://learn.iis.net/page.aspx/427/migrate-a-web-site-from-iis-60-to-iis-7-or-above/
http://learn.iis.net/page.aspx/425/troubleshooting-web-deploy/ help.
Regards,
Martin
Community Member Award 2011
MNeverick20
8 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 08:53 AM|LINK
Hello Martin,
thank you so much.
I know these articles.
Based on these articles, I tried many things and created the MS Deploy Syntax above.
But I have still several unresolved questions, please see above, or I am unsure, which syntax is correct.
Many thanks,
Meverick
HCamper
8048 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 09:20 AM|LINK
Hello,
I do see you have a number of errors and questions hard to tell what is wrong ?
The Web Deploy information you have posted does not include the links or status codes.
Are you using the latest version of Web Deploy http://learn.iis.net/page.aspx/1075/installing-and-configuring-web-deploy/ ?
Regards,
Martin
Community Member Award 2011
MNeverick20
8 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 09:34 AM|LINK
thx again.
Well, I have no errors, only a few basic questions, to make sure that I understand MSDeploy correctly.
I have installed the latest version, yes.
Many thanks,
Meverick
jeremyh
89 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 10:21 AM|LINK
Take a read of http://learn.iis.net/page.aspx/427/migrate-a-web-site-from-iis-60-to-iis-7-or-above/
This should give you a better overview.
Good luck
Jeremy
If this has helped Please: Don't forget to click "Mark as Answer" on the post that helped you.
That way future readers will know which post solved your issue.
HCamper
8048 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 10:27 AM|LINK
Hello,
You have no errors and basic questions. The errors might be easier to learn from ?
You need to understand MS Deploy correctly http://technet.microsoft.com/en-us/library/dd569059(WS.10).aspx
Technet information and includes the recent changes.
If you have more questions feel free to ask,
Martin
Community Member Award 2011
MNeverick20
8 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 10:35 AM|LINK
Hello Martin,
my question are written above. I tried to understand MS Deplory correctly. Therefore, I have some basic questions.
I have no errors but a few question?
Could you help me to answer my questions?
Many thanks,
Meverick
MNeverick20
8 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 10:37 AM|LINK
Thanks. I read the article in the past, based on that a have a few questions here.
Many thanks,
Meverick
HCamper
8048 Posts
Re: IIS6 to IIS7 migration: some basic questions of understanding (MS Deploy)
Jan 21, 2012 11:00 AM|LINK
Hi Meverick,
I understand the questions also Trouble Shooting. Example: c:\test\WebDeploySync.log has information that helps to explain.
You have a Windows 2003 and IIS 6.0 server then Windows 2008 R2 lots of variables.
This big question :"(ZIP-Files greater than 4GB doesn’t work with Web Deployment Tool (MS Deploy))." to answer.
Then you have another question:
Lets try a different Approach:
Create a test case post the scripts and descriptions for the servers and folders
If there there are errors post the errors and details.
then I will try to explain using the scripts and errors :D.
Example: Web Deploy http://forums.iis.net/t/1186055.aspx Using the errors to fix problems.
Regards,
Martin
Community Member Award 2011