Learn how to a build a cloud-first strategyRegister Now

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

Recover IIS7 Metabase without Backup

Hi

Is it possible to recover the IIS MetaBase to a new server from a Windows Server 2008 operating system that is not functioning.

We cannot access the MMC nor start the server to run an export.

Your help is much appreciated.

Regards
0
eonic
Asked:
eonic
  • 5
  • 4
1 Solution
 
RovastarCommented:
There is no metabase for IIS7 this was used in some previous versions of IIS.

It is all in the application hosts config files.

So what error are you getting?

It may be possible to recover something by editing these config files.

have a look at this link.

http://blogs.msdn.com/robert_mcmurray/archive/2009/07/27/a-little-scripting-saved-my-day.aspx

So can you get any access to the file system?


0
 
eonicAuthor Commented:
Hi,

Yes we have full access to the files on the HDD.

Currently sat as second HDD in the newly rebuilt box.

Regards
0
 
eonicAuthor Commented:
The article is something we should have seen before! However...

Could it be a case of just copying the ApplicationHost config files?

Anyone any thoughts?

Regards
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
RovastarCommented:
Have a look at the applciation.host config then see what you can salvage from it.  Do you want the site by site config or the whoile server config.

Learn more about teh IIS 7 metabase type setup for teh applciation configs
http://blogs.msdn.com/carlosag/archive/2006/04/25/IIS7ConfigurationSystem.aspx
http://learn.iis.net/page.aspx/124/introduction-to-applicationhostconfig/

Oh here is a script for backups too. ;)

http://blogs.msdn.com/robert_mcmurray/archive/2008/03/08/automating-iis-7-backups.aspx
0
 
eonicAuthor Commented:
Hi Rovastar

I want to recover the entire server if possible.

Should i be looking at any other areas of config apart from those files?

Anthony
0
 
RovastarCommented:
The information in the links above has the file info for the new 'metabase'. YOu should just need these. However I am not sure a simple as just copying them will work with some tiny tweaks for new local system. It should but I haven't done a restore like this, you might need to be a little creative. :)
0
 
eonicAuthor Commented:
Hi Rovastar

To confirm, copying the Applicationhost.config and the wwwroot directories for every site to a brand new fresh server worked fine. It restored everything apart from a few bespoke applications that needed some extra files added. But to be frank that was config independent of IIS anyway.

Much appreciated help. Problems all solved.

Thanks!
0
 
eonicAuthor Commented:
All the comments in this thread counted towards solving the issue, but the long and short of it was copying that file.

This was an x64 - x64 recovery.

0
 
RovastarCommented:
Glad to be of help. :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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