I am trying to fig out how to sync 2 servers. Both running IIS7. I started with msdeploy -verb:getDependencies -source:webServer and made sure both has the same services. I then test with msdeploy -verb:sync -source:webServer,computerName=Server1 -dest:webServer -whatif >msDeploySync.log. The log shows me that i get an (401) Unauthorized.
So im trying to fig out how to write the command so that it passes on username and password, but no success.
What i am trying to do is to sync all websites from server1 to server2. And also all content (folders) from d:\www on server1 to D:\www on server2.
If anyone has a tip that can set me of i would appreciate it a lot. Like a command :-)