Professional Documents
Culture Documents
When you create a website in IIS 7 or 7.5 a unique application pool will also be
created and used by this website, that’s why you need to import these application
pools first on the second webserver before importing the website(s).
This will export all the application pools on your webserver, therefor you need to edit
the apppools.xml and remove the application that you do not need to import for
example:
● DefaultAppPool
● Classic .NET AppPool
● SecurityTokenServiceApplicationPool
And other apppools that already exist on the second webserver, appcmd doesn’t skip
already existing apppools, it just quit’s and doesn’t import any.
All the AppPools in the xml will be created on your second webserver.
● Default Website
And all other websites that already exist on the second webserver.
It’s also possible to export a single website or application pool all you need to do is
add the name of the Application Pool or Website to the command line:
Import:
Import: