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

MSDeploy Restore Error

$
0
0

Hello,

I'm attempting to package multiple sites in II6 (Windows 2003) and restore them on another server with IIS8 (Windows 2012).  Worked fine on one server, no issues, but for my last 2 web servers, I'm having multiple issues.  For some reason it's trying to package the entire contents of the C:\ as well as all the necessary site files on D:\ (it should only be packaging files on D:\).  To get around this I added the following to the command prompt:  -skip:objectname=filepath,absolutePath="c:\\*".  Here is the complete command:

D:\Microsoft Web Deploy V3>msdeploy.exe -verb:sync -source:metakey=lm/w3svc/1 -dest:archivedir=d:\sales.zip -skip:objectname=filepath,absolutePath="c:\\*", -skip:objectname=filepath,absolutePath="catalog.wci\\*" >> d:\sales.log

The above works and it complete successfully, I can also see in the log that it skips all files on C:\.  But when I go to restore this package on the other server I get stuck with this error:

C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy.exe -verb:sync -source:arc hivedir=d:\andre\webdeployfiles\sales.zip -dest:metakey=lm/w3svc/5732 >> c:\sales.log

Error: An error was encountered when processing operation 'Delete Directory' on 'C:\$Recycle.Bin\S-1-5-21-854245398-1202660629-839522115-1355754\$RQJ6D0E\AppDat a\Local'. Error: The error code was 0x80070091. Error: The directory is not empty.

Error count: 1.

And in the logs it shows this:

Info: Adding child metaKey (/lm/w3svc/5732/Root/glmw).
Info: Adding child metaKey (/lm/w3svc/5732/Root/glmw/Path).
Info: Updating directory (C:\).
Info: Deleting directory (C:\$Recycle.Bin\S-1-5-21-854245398-1202660629-839522115-1355754\$RQJ6D0E\AppData\Local).

Why is it doing anything with C:\ when it skipped all those files during the package phase?  Any ideas would be greatly appreciated!

Thanks,

Andre


Viewing all articles
Browse latest Browse all 663

Trending Articles



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