How to export/import sites and app pools?

http://www.microsoftpro.nl/2011/01/27/exporting-and-importing-sites-and-app-pools-from-iis-7-and-7-5/

To export a IIS web site:

%systemroot%\system32\inetsrv\appcmd list site /config /xml >%path%\export-allwebsites-%computername%.xml

then modify the .xml to filter keep only the web site you want to restore then:

To import a IIS web site:

%systemroot%\system32\inetsrv\appcmd add site /in < %path%\export-allwebsites-%computername%.xml

How to transfer Web sites to  another IIS remote server ?

http://www.iis.net/downloads/microsoft/web-deploy