Wednesday, July 8, 2009

Command to Backup IIS site for migration using MSDeploy

To backup on source site --
msdeploy -verb:sync -source:metakey=lm/w3svc/(ID of site) -dest:archivedir=(dir path),encryptPassword=(string)

Run on Dest server --

msdeploy -verb:migrate -source:archivedir=(dir path),encryptPassword=(string) -dest:metakey=lm/w3svc/(ID of site)

No comments:

Blog Archive