Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I accidentally deleted the deleted temp app Pools folder, what can I do all my sites dont show up? This is on server Windows 2008. I restarted IIS but nothing. I dont have access to a backup at the moment.

C:\inetpub\temp\appPools
share|improve this question

3 Answers 3

You should restore the folder from Backup

share|improve this answer
    
What if I cant? –  Mike Flynn Apr 24 at 20:33
2  
Then you might want to state that in your original question –  MichelZ Apr 24 at 20:39

I agree with MichelZ that you should restore from backup, however that's assuming you took any manual backups before tweaking anything in IIS. I would be backing up the server from a system level with some sort of backup software; obviously you can take your pick here from dozens of great vendors. I would also be taking manual IIS backups before major changes. IIS will take backups of its own, but it's nice to be able to go back to exactly where you want to. To do this open a Command Prompt as Administrator and navigate to C:\Windows\System32\inetsrv

From here use the appcmd command like this: C:\Windows\System32\inetsrv\appcmd add backup "My Backup Name" (where My Backup Name is the name you give your backup)

Typically I like to name my backups something meaningful in case I have to go back and restore. Something like "Pre ASP Authentication Config on Site X" that way I know that that is where I made big changes to ASP on a particular site in case I need to revert to before I made those changes.

Good backup, restore source here.

share|improve this answer
up vote 0 down vote accepted

I restarted server and it looks like it recreated the folders. Holy mother, why would Microsoft put important files like that in a folder named temp. User error too, I should of been more careful and researched that!

share|improve this answer
    
Why would you run a system without backups? –  Iain Apr 25 at 5:52
    
It does have backups, just would of taken time to get it from the admins. –  Mike Flynn Apr 25 at 19:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.