coure2011
coure2011

Reputation: 42474

How to take backup in IIS

How do I take a backup of a site (and its settings) in IIS7 so that later if something goes wrong I can go back to my previous settings?

Updated:

I just want the settings, main website/sub- application, application pool etc. I can restore code from svn.

Upvotes: 9

Views: 11614

Answers (2)

manojlds
manojlds

Reputation: 301327

You can do the following:

 %windir%\system32\inetsrv\appcmd.exe add backup "backup_name"

The above basically backs up %windir%\system32\inetsrv\config

You can also look into application config history: http://learn.iis.net/page.aspx/129/using-iis-70-configuration-history/

Upvotes: 14

jcolebrand
jcolebrand

Reputation: 16035

You probably want to start with (assuming a normal installation)

c:\windows\system32\inetsrv\config\applicationHost.config 

as that's where the IIS config file is for websites.

There's not really the same "backup this site" like there was in IIS6, since they redid the underlying model.

Upvotes: 1

Related Questions