Web Deploy dump Operation
Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP
dump
The dump operation returns information about a specified source object.
Example
msdeploy –verb:dump –source:appPoolConfig
The dump operation returns information about a source object. The source object is specified by the -source argument. The source object can be a Web site, Web server, registry value, or any data source supplied by a Web Deploy provider. For more about providers, see Web Deploy Providers.
During a dump operation, Web Deploy automatically detects if encrypted objects are present in server-level configuration files (for example, the Applicationhost.config and Machine.config files), and will expect a password to have been specified for the source by the encryptPassword provider setting. If you do not specify a valid value when a password is required, the dump operation will fail. For more information, see the encryptPassword entry in the Web Deploy Provider Settings topic.
dump operations are recursive; they retrieve the source node and all child nodes. To obtain more detail from a dump operation, you can specify the -xml operation setting. The results will be returned in XML format and will contain attribute information.
Example Usages
1) Return the file paths of all files located in the c:\inetpub\wwwroot directory.
msdeploy -verb:dump -source:contentPath="c:\inetpub\wwwroot"
2) Return metabase information in XML format for an IIS 6.0 Web site that has the ID of 1.
msdeploy –verb:dump –source:metakey=lm/w3svc/1 -xml
3) Return configuration information in XML format for the default Web site on IIS 7.
msdeploy –verb:dump –source:appHostConfig="Default Web Site" -xml