How To Migrate IIS7.5 to IIS8.0

How To Migrate IIS7.5 to IIS8.0

In order to Migrate/Move IIS7.5 application to IIS8.0 on another server, you will need to export the application pool and the site from IIS 7.5 and Import these on to IIS8.0.
Following the simple procedure below

ON IIS 7.5

To Export the Application Pools on IIS 7.5
Run the command below from the command prompt using the account with admin privilege

%windir%\system32\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml

To Export all your website:
%windir%\system32\inetsrv\appcmd list site /config /xml > c:\sites.xml

On IIS 8.0

Import the Application Pools:
%windir%\system32\inetsrv\appcmd add apppool /in < c:\apppools.xml Import the website:
%windir%\system32\inetsrv\appcmd add site /in < c:\sites.xml Note you might need to tweak few things from the imported XML before the export.

Post Comment