Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using msdeploy.exe to duplicate our live web environment to an offsite disaster-recovery server. This offsite server also hosts an FTP site that we use for transferring database backups and logs.

By default, a full webserver sync using MSDEPLOY will remove any site on the target server that isn't on the source server, so to avoid nuking our FTP server every night, I've explicitly ignored it in the msdeploy command line.

The command line is as follows (formatted for readability)

msdeploy.exe -verb:sync 
    -skip:WebSite="FTP Backups"

In IIS7, under the "FTP Backups" site, there's a node called "FTP Authorization Rules". For the FTP site to work, I have to add an Allow entry to this section, granting read/write permissions to the appropriate users.

The msdeploy command line is completely erasing this setting - although the FTP site remains online and intact, the FTP Authorization Rules section is being wiped, which means our scheduled transfers fail until someone logs in and re-creates the appropriate rules.

Is this a known issue? Can I work around it using some setting in msdeploy? And if not, does anyone know where I file a bug report against the Web Deployment Tool?

share|improve this question

Your command seems well-formatted, and it should skip syncing the website "FTP Backups". What's the output when you run the command with -verbose and -debug switches?

PS: If it helps you or anyone else, please email me directly at baslam at microsoft dot com. I own the Web Deploy tool at Microsoft, and would love to help you out!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.