共用方式為


Web Deploy webServer60 Provider

Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP

webServer60

The webServer60 provider synchronizes two IIS 6.0 Web servers.

Example

msdeploy -verb:sync -source:webServer60,computername=Remote1 -dest:webServer60

The webServer60 provider returns all the contents of an IIS 6.0 Web server or synchronizes the contents from a source IIS 6.0 Web server to a destination IIS 6.0 Web server.

Warning

You should use the webServer60 provider only if the source computer is using Windows Server 2003 (IIS 6.0) or Windows XP (IIS 5.1). Do not use the webServer60 provider or the metaKey provider to synchronize from a Windows Server® 2008, Windows Vista®, Windows Server® 2008 R2 or Windows® 7 source computer to a Windows Server 2008, Windows Vista, Windows Server 2008 R2 or Windows 7 destination computer. In these cases you should use the webServer provider to synchronize at the Web server level or the appHostConfig provider to synchronize at the Web site level.

The webServer60 provider uses the following providers to implement its functionality. For more information about each of these, see the related links in the See Also section.

  • cert

  • contentPath

  • gacAssembly

  • machineConfig32

  • machineConfig64

  • metaKey

  • rootWebConfig32

  • rootWebConfig64

To copy only the configuration settings from server to server, but not the Web content, include -disableLink:ContentExtension in your Web Deploy command. For more information about link extensions, see Web Deploy Link Extensions.

Warning

The getDependencies method will not show FTP Server as an IIS 6.0 dependency if you specify webServer60 or webServer for the -source argument. Instead, you must use the metaKey provider, as in the following example.
msdeploy -verb:getDependencies -source:metaKey=lm/msftpsvc -xml

Example usages

1) Display an IIS 6.0 Web server's metabase, registry paths, and values in XML format.

msdeploy -verb:dump -source:webServer60 -xml

2) Synchronize an IIS 6.0 Web server between two computers.

msdeploy -verb:sync -source:webServer60 -dest:webServer60,computerName=Server2

See Also

Concepts

Web Deploy appHostConfig Provider
Web Deploy contentPath Provider
Web Deploy cert Provider
Web Deploy gacAssembly Provider
Web Deploy metaKey Provider
Web Deploy machineConfig32 Provider
Web Deploy machineConfig64 Provider
Web Deploy rootWebConfig32 Provider
Web Deploy rootWebConfig64 Provider
Web Deploy webServer Provider