Backup procedure: Open IIS-> right-click the website-> Save the configuration to a file-> select the path (unencrypted ).
After the sub-device is reinstalled, run the doscommand to restore the sub-device. (Because there are no convenient steps on IIS6 ). There is an IIS backup and restoration tool on the Internet called IISBackup, but I don't think it is easy to use, so it is better to use the doscommand. The following is a method.
1. First open the file you saved and view the IIsWebService tag in the XML structure.
Copy codeThe Code is as follows: <? Xml version = "1.0"?>
<Configuration xmlns = "urn: microsoft-catalog: XML_Metabase_V64_0">
<MBProperty>
<IIS_Global Location = "."
SessionKey = "session"
>
</IIS_Global>
<IIsWebService Location = "/LM/W3SVC"
AllowKeepAlive = "TRUE"
........................
Check the Location = "/LM/W3SVC" Path in IIsWebService.
2. Use Win + R to open the running box and Enter cmd to enter the DOS interface.
3. Type cd c: \ Windows \ System32 to change the path.
4. Type
Iiscnfg/import/f c: \ IISBak. xml/sp/LM/W3SVC/1/dp/LM/W3SVC/children/merge
C: \ IISBak. xml is the path of the saved configuration file.
And/LM/W3SVC is the Local value in your IIsWebService.
This completes all the steps.