Get IIS6 sites on rebuilt server

Our IIS server died hard and I had to reinstall the OS.  The Inetpub folder was/is on a different partition, so it wasn't affected by the OS reinstall.  I have the OS reinstalled now and IIS is installed, but I don't know how to get IIS6 to see the sites.

Server 2003 SP3

I'm not sure what details are needed, so please ask for clarification if necessary.

Jono MartinSystems AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Calvin ClosePresidentCommented:
see if this helps. but I would think your looking for something similar.
Jono MartinSystems AdministratorAuthor Commented:
Hi calvinclose - Thanks for the link, but I already have IIS installed.  I need to import sites that were previously part of IIS before the server died.

Does anyone know how to do this?
Unfortunately, unless you had your IIS metabase backed up, there isn't an easy way to recover all your sites.  While you have all your site "code", the IIS configuration itself is more than just pages and scripts - that is where the IIS metabase comes in.
Backup and Restore IIS 6 Metabase

Baring a backup, you'll need to manually recreate each IIS site and point it to the correct folder on the original partition.  Just a note that your (new) site name doesn't need to match your original site name; however, if you have child applications, those most certainly have to match the original as they're part of the URL.

Let me know if you need additional information; I just presented the bare bones to get you started.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Jono MartinSystems AdministratorAuthor Commented:
Hi kollenh - Thanks for the reply.  I have a recent backup of the server, or at least the server files.  Is there a file or folder I can restore to the server that would give me the metabase back?
Hmm... I haven't tried to do it 'manually' before but since you have nothing configured, you don't have anything to lose if it doesn't go right.

Make a backup of your current IIS configuration - just in case.  Then open up the backup and look for 'MetaBase.xml' and 'MBSchema.xml' in the C:\Windows\System32\inetsrv folder.  Restore those files to the same location on the newly-built server.  Restart IIS and see what happens.
Jono MartinSystems AdministratorAuthor Commented:
Well, it looks like the Windows directory wasn't part of the backup philosophy.  I guess we'll have to rebuild the sites.

Ouch!  Sorry to hear, that is unfortunate.  Once you get it rebuild, I would do a manual backup and keep it somewhere safe.
Jono MartinSystems AdministratorAuthor Commented:
I will most certainly do that.  I'd rather not have to go through this again.

Thanks again kollenh.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.