IIS 5 & IIS 6
Setup & Migration
web server migration issue
Last post Jun 17, 2019 01:40 AM by Able
Jun 15, 2019 02:04 AM|Amandaji|LINK
msdeploy -verb:sync -source:metakey=lm/w3svc/1 -dest:package=c:\Site1.zip > WebDeployPackage.log
trying to migrate web server
sits here at this command - what to do....
Jun 17, 2019 01:40 AM|Able|LINK
This command is used to create a compressed package file of IIS websites,so after you create the zip file, you ought to move the compressed package to the destination server. We could moved the file through the local network share.
Then you should firstly validate the package with the server dependencies by using below command:
msdeploy -verb:sync -source:package=c:\Site1.zip -dest:metakey=lm/w3svc/1 -whatif > WebDeploySync.log
Lastly, Once you verified the output, run the same command without –whatif option to decompress the file:
msdeploy -verb:sync -source:package=c:\Site1.zip -dest:metakey=lm/w3svc/1 > WebDeploySync.log
Here is the link,I hope it could help you.