Web Deployment Tool (MS Deploy)
msdeploy and backup of application
Last post Feb 11, 2019 01:53 AM by Jalpa Panchal
Feb 08, 2019 02:41 PM|carlwright12345|LINK
I am trying to get msdeploy to backup an application using the IIS automatic backups.
It backups up websites fine but it won't backup applications within the website. In fact it just makes an additional backup of the parent site.
I'm using msdeploy.exe -verb:sync -source:backupManager -dest:backupManager=www.website.com/api
In the case above I get two backups, one of www.website.com
and another of www.website.com when in fact I want a backup of
I've spent the day googling and can't seem to find a solution.
Feb 11, 2019 01:53 AM|Jalpa Panchal|LINK
You could try below command to back up website application of IIS:
msdeploy.exe -verb:sync -source:iisapp="website name/application name" -dest:package=back up file path
msdeploy.exe -verb:sync -source:iisapp="test2/api" -dest:package=D:\subapi.zip