How to safely export all IIS settings from one server to another?

I am trying to create a virtual machine that clones one of the servers used in production instances of our webapp so that we can perform deployment testing on it.

I got all the necessary files, installed IIS, the database is up and running. In my opinion, all that remains is to copy all the IIS settings from the production environment to the virtual machine. Previously, in such situations, I just supported the metabase, found the file, moved it to a new machine and restored. However, this is a more complex scenario, and when I try to do this, the target machine tells me that the metabase file has an “invalid signature”.

It seems like I find a recommendation for this to use iiscnfg.vbs / export, however the msdn page on this recommends using iiscnfg.vbs / copy (although the link points to itself).

So, following all the steps for copying, I get the following output:

C:\WINDOWS\system32>cscript.exe iiscnfg.vbs /copy /ts 208.10.202.61 /tu wmydomain\admin /tp mypassword
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Backing up server 127.0.0.1
Backup complete.
Mapping local drive E: to admin share on server 127.0.0.1
Mapping local drive F: to admin share on server 208.10.202.61

Which looks good, except on the target computer it seems that nothing has changed. What gives? Is there any other way to do this?

+5
source share
2 answers

You can use the Web Deployment Tool to synchronize websites between the local and remote IIS server. (It also works to upgrade to IIS 7 from IIS 6)

+7

, . , VMWare (http://www.vmware.com/products/converter/). , .

/, sid . , . .

+1

All Articles