开发者

How to take backup in IIS

开发者 https://www.devze.com 2023-03-06 04:45 出处:网络
How do I take a backup of a site (and its set开发者_JAVA百科tings) in IIS7 so that later if something goes wrong I can go back to my previous settings?

How do I take a backup of a site (and its set开发者_JAVA百科tings) 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.


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/


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消