Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

Skip subfolder when website backup using msdeploy

$
0
0

Hi All,

Is it possible declare xpath parameter for skipping subfolder when website backup using msdeploy? For example, skipping App_Data directory works well:

msdeploy -verb:sync  -source:backupManager  
-dest:backupManager="SiteName",
wmsvc="https://ServerName:8172/msdeploy.axd?site=SiteName,userName="UserName),
password="Password" -allowUntrusted -skip:xpath=dirPath[@path='App_Data']

But when I am trying to skip App_Data/Items it does not work:

msdeploy -verb:sync  -source:backupManager  
-dest:backupManager="SiteName",
wmsvc="https://ServerName:8172/msdeploy.axd?site=SiteName,userName="UserName),
password="Password" -allowUntrusted -skip:xpath=dirPath[@path='App_Data/Items']

I tried slash/backslash and double slash/backslash and no result.

Thank you!


Viewing all articles
Browse latest Browse all 663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>