Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

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?
0
Cobra25
Asked:
Cobra25
1 Solution
 
Emmanuel AdebayoCommented:
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now