IIS 7.5 to 8.0

Hey guys

We have an SBS 2011 server with IIS 7.5 i believe. We are moving services to a new server 2012 R2 server, which i believe is 8.0

Is there a way to full export the settings from the old server to the new one?
LVL 4
Cobra25Asked:
Who is Participating?
 
Emmanuel AdebayoConnect With a Mentor Global Windows Infrastructure Engineer - ConsultantCommented:
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

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 IIS8.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

Hope this helps
0
 
Cobra25Author Commented:
Is there a non comand line way of doing this?
0
 
Cobra25Author Commented:
Also, will this get everything?
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
Cris HannaCommented:
Maybe it would be helpful to tell us what sites/app pool's you want to move?   Is there just a custom built site you want to move?
0
 
Dan McFaddenSystems EngineerCommented:
I would check out the Web Deploy tools from Microsoft.  You can do a IIS/site migration 2 ways.

1.  Install Web Deploy on both the old and the new server and do a direct migration.  This works best if there is an AD Domain in yoru infrastructure.

2. Install Web Deploy on both servers.  On the old server, you export each site.  The site/code/config all ends up in a ZIP file.  On the new server, you import the sites.  There is an import/export function in Web Deploy.

Reference links:
1. Web Deploy overview:  https://www.iis.net/learn/publish/using-web-deploy/use-the-web-deployment-tool
2. Download:  https://www.iis.net/downloads/microsoft/web-deploy
3. Installing Web Deploy:  https://www.iis.net/learn/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later
4. Synchronizing IIS instances:  https://www.iis.net/learn/publish/using-web-deploy/synchronize-iis
5. Export a site: https://www.iis.net/learn/publish/using-web-deploy/export-a-package-through-iis-manager

Dan
0
 
Cobra25Author Commented:
Perfect, thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.